
/////////////////////////////////////////////////////////////////////////
///@system 新一代交易所系统
///@company 上海期货信息技术有限公司
///@file FtdcStruct.h
///@brief 定义了客户端接口使用的业务数据结构
///@history 
///20070227	zhangjie		创建该文件
/////////////////////////////////////////////////////////////////////////

#if !defined(_FTDCRISKSTRUCT_H)
#define _FTDCRISKSTRUCT_H

#include "FtdcRiskUserApiDataType.h"


#include <string>

///信息分发
struct CShfeFtdcDisseminationField
{
	///序列系列号
	TShfeFtdcSequenceSeriesType	SequenceSeries;
	///序列号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///用户登录请求
struct CShfeFtdcReqUserLoginField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///密码
	TShfeFtdcPasswordType	Password;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///接口端产品信息
	TShfeFtdcProductInfoType	InterfaceProductInfo;
	///协议信息
	TShfeFtdcProtocolInfoType	ProtocolInfo;


};

///用户登录应答
struct CShfeFtdcRspUserLoginField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///登录成功时间
	TShfeFtdcTimeType	LoginTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///交易系统名称
	TShfeFtdcSystemNameType	SystemName;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///最大报单引用
	TShfeFtdcOrderRefType	MaxOrderRef;
	///上期所时间
	TShfeFtdcTimeType	SHFETime;
	///大商所时间
	TShfeFtdcTimeType	DCETime;
	///郑商所时间
	TShfeFtdcTimeType	CZCETime;
	///中金所时间
	TShfeFtdcTimeType	FFEXTime;


};

///用户登出请求
struct CShfeFtdcUserLogoutField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///强制交易员退出
struct CShfeFtdcForceUserLogoutField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///银期转帐报文头
struct CShfeFtdcTransferHeaderField
{
	///版本号，常量，1.0
	TShfeFtdcVersionType	Version;
	///交易代码，必填
	TShfeFtdcTradeCodeType	TradeCode;
	///交易日期，必填，格式：yyyymmdd
	TShfeFtdcTradeDateType	TradeDate;
	///交易时间，必填，格式：hhmmss
	TShfeFtdcTradeTimeType	TradeTime;
	///发起方流水号，N/A
	TShfeFtdcTradeSerialType	TradeSerial;
	///期货公司代码，必填
	TShfeFtdcFutureIDType	FutureID;
	///银行代码，根据查询银行得到，必填
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码，根据查询银行得到，必填
	TShfeFtdcBankBrchIDType	BankBrchID;
	///操作员，N/A
	TShfeFtdcOperNoType	OperNo;
	///交易设备类型，N/A
	TShfeFtdcDeviceIDType	DeviceID;
	///记录数，N/A
	TShfeFtdcRecordNumType	RecordNum;
	///会话编号，N/A
	TShfeFtdcSessionIDType	SessionID;
	///请求编号，N/A
	TShfeFtdcRequestIDType	RequestID;


};

///银行资金转期货请求，TradeCode=202001
struct CShfeFtdcTransferBankToFutureReqField
{
	///期货资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///密码标志
	TShfeFtdcFuturePwdFlagType	FuturePwdFlag;
	///密码
	TShfeFtdcFutureAccPwdType	FutureAccPwd;
	///转账金额
	TShfeFtdcMoneyType	TradeAmt;
	///客户手续费
	TShfeFtdcMoneyType	CustFee;
	///币种：RMB-人民币 USD-美圆 HKD-港元
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///银行资金转期货请求响应
struct CShfeFtdcTransferBankToFutureRspField
{
	///响应代码
	TShfeFtdcRetCodeType	RetCode;
	///响应信息
	TShfeFtdcRetInfoType	RetInfo;
	///资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///转帐金额
	TShfeFtdcMoneyType	TradeAmt;
	///应收客户手续费
	TShfeFtdcMoneyType	CustFee;
	///币种
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///期货资金转银行请求，TradeCode=202002
struct CShfeFtdcTransferFutureToBankReqField
{
	///期货资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///密码标志
	TShfeFtdcFuturePwdFlagType	FuturePwdFlag;
	///密码
	TShfeFtdcFutureAccPwdType	FutureAccPwd;
	///转账金额
	TShfeFtdcMoneyType	TradeAmt;
	///客户手续费
	TShfeFtdcMoneyType	CustFee;
	///币种：RMB-人民币 USD-美圆 HKD-港元
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///期货资金转银行请求响应
struct CShfeFtdcTransferFutureToBankRspField
{
	///响应代码
	TShfeFtdcRetCodeType	RetCode;
	///响应信息
	TShfeFtdcRetInfoType	RetInfo;
	///资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///转帐金额
	TShfeFtdcMoneyType	TradeAmt;
	///应收客户手续费
	TShfeFtdcMoneyType	CustFee;
	///币种
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///查询银行资金请求，TradeCode=204002
struct CShfeFtdcTransferQryBankReqField
{
	///期货资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///密码标志
	TShfeFtdcFuturePwdFlagType	FuturePwdFlag;
	///密码
	TShfeFtdcFutureAccPwdType	FutureAccPwd;
	///币种：RMB-人民币 USD-美圆 HKD-港元
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///查询银行资金请求响应
struct CShfeFtdcTransferQryBankRspField
{
	///响应代码
	TShfeFtdcRetCodeType	RetCode;
	///响应信息
	TShfeFtdcRetInfoType	RetInfo;
	///资金账户
	TShfeFtdcAccountIDType	FutureAccount;
	///银行余额
	TShfeFtdcMoneyType	TradeAmt;
	///银行可用余额
	TShfeFtdcMoneyType	UseAmt;
	///银行可取余额
	TShfeFtdcMoneyType	FetchAmt;
	///币种
	TShfeFtdcCurrencyCodeType	CurrencyCode;


};

///查询银行交易明细请求，TradeCode=204999
struct CShfeFtdcTransferQryDetailReqField
{
	///期货资金账户
	TShfeFtdcAccountIDType	FutureAccount;


};

///查询银行交易明细请求响应
struct CShfeFtdcTransferQryDetailRspField
{
	///交易日期
	TShfeFtdcDateType	TradeDate;
	///交易时间
	TShfeFtdcTradeTimeType	TradeTime;
	///交易代码
	TShfeFtdcTradeCodeType	TradeCode;
	///期货流水号
	TShfeFtdcTradeSerialNoType	FutureSerial;
	///期货公司代码
	TShfeFtdcFutureIDType	FutureID;
	///资金帐号
	TShfeFtdcFutureAccountType	FutureAccount;
	///银行流水号
	TShfeFtdcTradeSerialNoType	BankSerial;
	///银行代码
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码
	TShfeFtdcBankBrchIDType	BankBrchID;
	///银行账号
	TShfeFtdcBankAccountType	BankAccount;
	///证件号码
	TShfeFtdcCertCodeType	CertCode;
	///货币代码
	TShfeFtdcCurrencyCodeType	CurrencyCode;
	///发生金额
	TShfeFtdcMoneyType	TxAmount;
	///有效标志
	TShfeFtdcTransferValidFlagType	Flag;


};

///响应信息
struct CShfeFtdcRspInfoField
{
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///交易所
struct CShfeFtdcExchangeField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所名称
	TShfeFtdcExchangeNameType	ExchangeName;
	///交易所属性
	TShfeFtdcExchangePropertyType	ExchangeProperty;


};

///产品
struct CShfeFtdcProductField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///产品名称
	TShfeFtdcProductNameType	ProductName;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///产品类型
	TShfeFtdcProductClassType	ProductClass;
	///合约数量乘数
	TShfeFtdcVolumeMultipleType	VolumeMultiple;
	///最小变动价位
	TShfeFtdcPriceType	PriceTick;
	///市价单最大下单量
	TShfeFtdcVolumeType	MaxMarketOrderVolume;
	///市价单最小下单量
	TShfeFtdcVolumeType	MinMarketOrderVolume;
	///限价单最大下单量
	TShfeFtdcVolumeType	MaxLimitOrderVolume;
	///限价单最小下单量
	TShfeFtdcVolumeType	MinLimitOrderVolume;
	///持仓类型
	TShfeFtdcPositionTypeType	PositionType;
	///持仓日期类型
	TShfeFtdcPositionDateTypeType	PositionDateType;
	///平仓处理类型
	TShfeFtdcCloseDealTypeType	CloseDealType;
	///交易币种类型
	TShfeFtdcCurrencyIDType	TradeCurrencyID;
	///质押资金可用范围
	TShfeFtdcMortgageFundUseRangeType	MortgageFundUseRange;
	///交易所产品代码
	TShfeFtdcInstrumentIDType	ExchangeProductID;
	///合约基础商品乘数
	TShfeFtdcUnderlyingMultipleType	UnderlyingMultiple;


};

///合约
struct CShfeFtdcInstrumentField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约名称
	TShfeFtdcInstrumentNameType	InstrumentName;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///产品类型
	TShfeFtdcProductClassType	ProductClass;
	///交割年份
	TShfeFtdcYearType	DeliveryYear;
	///交割月
	TShfeFtdcMonthType	DeliveryMonth;
	///市价单最大下单量
	TShfeFtdcVolumeType	MaxMarketOrderVolume;
	///市价单最小下单量
	TShfeFtdcVolumeType	MinMarketOrderVolume;
	///限价单最大下单量
	TShfeFtdcVolumeType	MaxLimitOrderVolume;
	///限价单最小下单量
	TShfeFtdcVolumeType	MinLimitOrderVolume;
	///合约数量乘数
	TShfeFtdcVolumeMultipleType	VolumeMultiple;
	///最小变动价位
	TShfeFtdcPriceType	PriceTick;
	///创建日
	TShfeFtdcDateType	CreateDate;
	///上市日
	TShfeFtdcDateType	OpenDate;
	///到期日
	TShfeFtdcDateType	ExpireDate;
	///开始交割日
	TShfeFtdcDateType	StartDelivDate;
	///结束交割日
	TShfeFtdcDateType	EndDelivDate;
	///合约生命周期状态
	TShfeFtdcInstLifePhaseType	InstLifePhase;
	///当前是否交易
	TShfeFtdcBoolType	IsTrading;
	///持仓类型
	TShfeFtdcPositionTypeType	PositionType;
	///持仓日期类型
	TShfeFtdcPositionDateTypeType	PositionDateType;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatio;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatio;
	///是否使用大额单边保证金算法
	TShfeFtdcMaxMarginSideAlgorithmType	MaxMarginSideAlgorithm;
	///基础商品代码
	TShfeFtdcInstrumentIDType	UnderlyingInstrID;
	///执行价
	TShfeFtdcPriceType	StrikePrice;
	///期权类型
	TShfeFtdcOptionsTypeType	OptionsType;
	///合约基础商品乘数
	TShfeFtdcUnderlyingMultipleType	UnderlyingMultiple;
	///组合类型
	TShfeFtdcCombinationTypeType	CombinationType;
	///产品组代码
	TShfeFtdcInstrumentIDType	ProductGroupID;


};

///经纪公司
struct CShfeFtdcBrokerField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///经纪公司简称
	TShfeFtdcBrokerAbbrType	BrokerAbbr;
	///经纪公司名称
	TShfeFtdcBrokerNameType	BrokerName;
	///是否活跃
	TShfeFtdcBoolType	IsActive;


};

///交易所交易员
struct CShfeFtdcTraderField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///密码
	TShfeFtdcPasswordType	Password;
	///安装数量
	TShfeFtdcInstallCountType	InstallCount;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///投资者
struct CShfeFtdcInvestorField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者名称
	TShfeFtdcPartyNameType	InvestorName;
	///证件类型
	TShfeFtdcIdCardTypeType	IdentifiedCardType;
	///证件号码
	TShfeFtdcIdentifiedCardNoType	IdentifiedCardNo;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///联系电话
	TShfeFtdcTelephoneType	Telephone;
	///通讯地址
	TShfeFtdcAddressType	Address;
	///开户日期
	TShfeFtdcDateType	OpenDate;
	///手机
	TShfeFtdcMobileType	Mobile;
	///手续费率模板代码
	TShfeFtdcInvestorIDType	CommModelID;
	///保证金率模板代码
	TShfeFtdcInvestorIDType	MarginModelID;


};

///交易编码
struct CShfeFtdcTradingCodeField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///交易编码类型
	TShfeFtdcClientIDTypeType	ClientIDType;


};

///会员编码和经纪公司编码对照表
struct CShfeFtdcPartBrokerField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///是否活跃
	TShfeFtdcBoolType	IsActive;


};

///管理用户
struct CShfeFtdcSuperUserField
{
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///用户名称
	TShfeFtdcUserNameType	UserName;
	///密码
	TShfeFtdcPasswordType	Password;
	///是否活跃
	TShfeFtdcBoolType	IsActive;


};

///管理用户功能权限
struct CShfeFtdcSuperUserFunctionField
{
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///功能代码
	TShfeFtdcFunctionCodeType	FunctionCode;


};

///投资者组
struct CShfeFtdcInvestorGroupField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者分组名称
	TShfeFtdcInvestorGroupNameType	InvestorGroupName;


};

///资金账户
struct CShfeFtdcTradingAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///上次质押金额
	TShfeFtdcMoneyType	PreMortgage;
	///上次信用额度
	TShfeFtdcMoneyType	PreCredit;
	///上次存款额
	TShfeFtdcMoneyType	PreDeposit;
	///上次结算准备金
	TShfeFtdcMoneyType	PreBalance;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///利息基数
	TShfeFtdcMoneyType	InterestBase;
	///利息收入
	TShfeFtdcMoneyType	Interest;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///出金金额
	TShfeFtdcMoneyType	Withdraw;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///当前保证金总额
	TShfeFtdcMoneyType	CurrMargin;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///期货结算准备金
	TShfeFtdcMoneyType	Balance;
	///可用资金
	TShfeFtdcMoneyType	Available;
	///可取资金
	TShfeFtdcMoneyType	WithdrawQuota;
	///基本准备金
	TShfeFtdcMoneyType	Reserve;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///信用额度
	TShfeFtdcMoneyType	Credit;
	///质押金额
	TShfeFtdcMoneyType	Mortgage;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///投资者交割保证金
	TShfeFtdcMoneyType	DeliveryMargin;
	///交易所交割保证金
	TShfeFtdcMoneyType	ExchangeDeliveryMargin;
	///保底期货结算准备金
	TShfeFtdcMoneyType	ReserveBalance;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageIn;
	///上次货币质出金额
	TShfeFtdcMoneyType	PreFundMortgageOut;
	///货币质入金额
	TShfeFtdcMoneyType	FundMortgageIn;
	///货币质出金额
	TShfeFtdcMoneyType	FundMortgageOut;
	///货币质押余额
	TShfeFtdcMoneyType	FundMortgageAvailable;
	///可质押货币金额
	TShfeFtdcMoneyType	MortgageableFund;
	///特殊产品占用保证金
	TShfeFtdcMoneyType	SpecProductMargin;
	///特殊产品冻结保证金
	TShfeFtdcMoneyType	SpecProductFrozenMargin;
	///特殊产品手续费
	TShfeFtdcMoneyType	SpecProductCommission;
	///特殊产品冻结手续费
	TShfeFtdcMoneyType	SpecProductFrozenCommission;
	///特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfit;
	///特殊产品平仓盈亏
	TShfeFtdcMoneyType	SpecProductCloseProfit;
	///根据持仓盈亏算法计算的特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfitByAlg;
	///特殊产品交易所保证金
	TShfeFtdcMoneyType	SpecProductExchangeMargin;
	///延时换汇冻结金额
	TShfeFtdcMoneyType	FrozenSwap;
	///剩余换汇额度
	TShfeFtdcMoneyType	RemainSwap;
	///期权平仓盈亏
	TShfeFtdcMoneyType	OptionCloseProfit;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///投资者持仓
struct CShfeFtdcInvestorPositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///上日持仓
	TShfeFtdcVolumeType	YdPosition;
	///今日持仓
	TShfeFtdcVolumeType	Position;
	///多头冻结
	TShfeFtdcVolumeType	LongFrozen;
	///空头冻结
	TShfeFtdcVolumeType	ShortFrozen;
	///开仓冻结金额
	TShfeFtdcMoneyType	LongFrozenAmount;
	///开仓冻结金额
	TShfeFtdcMoneyType	ShortFrozenAmount;
	///开仓量
	TShfeFtdcVolumeType	OpenVolume;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///开仓金额
	TShfeFtdcMoneyType	OpenAmount;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;
	///持仓成本
	TShfeFtdcMoneyType	PositionCost;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///开仓成本
	TShfeFtdcMoneyType	OpenCost;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///组合成交形成的持仓
	TShfeFtdcVolumeType	CombPosition;
	///组合多头冻结
	TShfeFtdcVolumeType	CombLongFrozen;
	///组合空头冻结
	TShfeFtdcVolumeType	CombShortFrozen;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///今日持仓
	TShfeFtdcVolumeType	TodayPosition;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///执行冻结
	TShfeFtdcVolumeType	StrikeFrozen;
	///执行冻结金额
	TShfeFtdcMoneyType	StrikeFrozenAmount;
	///放弃执行冻结
	TShfeFtdcVolumeType	AbandonFrozen;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行冻结的昨仓
	TShfeFtdcVolumeType	YdStrikeFrozen;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///合约保证金率
struct CShfeFtdcInstrumentMarginRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///是否相对交易所收取
	TShfeFtdcBoolType	IsRelative;


};

///合约手续费率
struct CShfeFtdcInstrumentCommissionRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///开仓手续费率
	TShfeFtdcRatioType	OpenRatioByMoney;
	///开仓手续费
	TShfeFtdcRatioType	OpenRatioByVolume;
	///平仓手续费率
	TShfeFtdcRatioType	CloseRatioByMoney;
	///平仓手续费
	TShfeFtdcRatioType	CloseRatioByVolume;
	///平今手续费率
	TShfeFtdcRatioType	CloseTodayRatioByMoney;
	///平今手续费
	TShfeFtdcRatioType	CloseTodayRatioByVolume;


};

///深度行情
struct CShfeFtdcDepthMarketDataField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///最新价
	TShfeFtdcPriceType	LastPrice;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///昨收盘
	TShfeFtdcPriceType	PreClosePrice;
	///昨持仓量
	TShfeFtdcLargeVolumeType	PreOpenInterest;
	///今开盘
	TShfeFtdcPriceType	OpenPrice;
	///最高价
	TShfeFtdcPriceType	HighestPrice;
	///最低价
	TShfeFtdcPriceType	LowestPrice;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交金额
	TShfeFtdcMoneyType	Turnover;
	///持仓量
	TShfeFtdcLargeVolumeType	OpenInterest;
	///今收盘
	TShfeFtdcPriceType	ClosePrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///涨停板价
	TShfeFtdcPriceType	UpperLimitPrice;
	///跌停板价
	TShfeFtdcPriceType	LowerLimitPrice;
	///昨虚实度
	TShfeFtdcRatioType	PreDelta;
	///今虚实度
	TShfeFtdcRatioType	CurrDelta;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///最后修改毫秒
	TShfeFtdcMillisecType	UpdateMillisec;
	///申买价一
	TShfeFtdcPriceType	BidPrice1;
	///申买量一
	TShfeFtdcVolumeType	BidVolume1;
	///申卖价一
	TShfeFtdcPriceType	AskPrice1;
	///申卖量一
	TShfeFtdcVolumeType	AskVolume1;
	///申买价二
	TShfeFtdcPriceType	BidPrice2;
	///申买量二
	TShfeFtdcVolumeType	BidVolume2;
	///申卖价二
	TShfeFtdcPriceType	AskPrice2;
	///申卖量二
	TShfeFtdcVolumeType	AskVolume2;
	///申买价三
	TShfeFtdcPriceType	BidPrice3;
	///申买量三
	TShfeFtdcVolumeType	BidVolume3;
	///申卖价三
	TShfeFtdcPriceType	AskPrice3;
	///申卖量三
	TShfeFtdcVolumeType	AskVolume3;
	///申买价四
	TShfeFtdcPriceType	BidPrice4;
	///申买量四
	TShfeFtdcVolumeType	BidVolume4;
	///申卖价四
	TShfeFtdcPriceType	AskPrice4;
	///申卖量四
	TShfeFtdcVolumeType	AskVolume4;
	///申买价五
	TShfeFtdcPriceType	BidPrice5;
	///申买量五
	TShfeFtdcVolumeType	BidVolume5;
	///申卖价五
	TShfeFtdcPriceType	AskPrice5;
	///申卖量五
	TShfeFtdcVolumeType	AskVolume5;
	///当日均价
	TShfeFtdcPriceType	AveragePrice;
	///业务日期
	TShfeFtdcDateType	ActionDay;


};

///投资者合约交易权限
struct CShfeFtdcInstrumentTradingRightField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易权限
	TShfeFtdcTradingRightType	TradingRight;


};

///经纪公司用户
struct CShfeFtdcBrokerUserField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///用户名称
	TShfeFtdcUserNameType	UserName;
	///用户类型
	TShfeFtdcUserTypeType	UserType;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///是否使用令牌
	TShfeFtdcBoolType	IsUsingOTP;
	///是否强制终端认证
	TShfeFtdcBoolType	IsAuthForce;


};

///经纪公司用户口令
struct CShfeFtdcBrokerUserPasswordField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///密码
	TShfeFtdcPasswordType	Password;
	///上次修改时间
	TShfeFtdcDateTimeType	LastUpdateTime;
	///上次登陆时间
	TShfeFtdcDateTimeType	LastLoginTime;
	///密码过期时间
	TShfeFtdcDateType	ExpireDate;
	///弱密码过期时间
	TShfeFtdcDateType	WeakExpireDate;


};

///经纪公司用户功能权限
struct CShfeFtdcBrokerUserFunctionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///经纪公司功能代码
	TShfeFtdcBrokerFunctionCodeType	BrokerFunctionCode;


};

///交易所交易员报盘机
struct CShfeFtdcTraderOfferField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///密码
	TShfeFtdcPasswordType	Password;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所交易员连接状态
	TShfeFtdcTraderConnectStatusType	TraderConnectStatus;
	///发出连接请求的日期
	TShfeFtdcDateType	ConnectRequestDate;
	///发出连接请求的时间
	TShfeFtdcTimeType	ConnectRequestTime;
	///上次报告日期
	TShfeFtdcDateType	LastReportDate;
	///上次报告时间
	TShfeFtdcTimeType	LastReportTime;
	///完成连接日期
	TShfeFtdcDateType	ConnectDate;
	///完成连接时间
	TShfeFtdcTimeType	ConnectTime;
	///启动日期
	TShfeFtdcDateType	StartDate;
	///启动时间
	TShfeFtdcTimeType	StartTime;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///本席位最大成交编号
	TShfeFtdcTradeIDType	MaxTradeID;
	///本席位最大报单备拷
	TShfeFtdcReturnCodeType	MaxOrderMessageReference;


};

///投资者结算结果
struct CShfeFtdcSettlementInfoField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///消息正文
	TShfeFtdcContentType	Content;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///合约保证金率调整
struct CShfeFtdcInstrumentMarginRateAdjustField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///是否相对交易所收取
	TShfeFtdcBoolType	IsRelative;


};

///交易所保证金率
struct CShfeFtdcExchangeMarginRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;


};

///交易所保证金率调整
struct CShfeFtdcExchangeMarginRateAdjustField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///跟随交易所投资者多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///跟随交易所投资者多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///跟随交易所投资者空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///跟随交易所投资者空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///交易所多头保证金率
	TShfeFtdcRatioType	ExchLongMarginRatioByMoney;
	///交易所多头保证金费
	TShfeFtdcMoneyType	ExchLongMarginRatioByVolume;
	///交易所空头保证金率
	TShfeFtdcRatioType	ExchShortMarginRatioByMoney;
	///交易所空头保证金费
	TShfeFtdcMoneyType	ExchShortMarginRatioByVolume;
	///不跟随交易所投资者多头保证金率
	TShfeFtdcRatioType	NoLongMarginRatioByMoney;
	///不跟随交易所投资者多头保证金费
	TShfeFtdcMoneyType	NoLongMarginRatioByVolume;
	///不跟随交易所投资者空头保证金率
	TShfeFtdcRatioType	NoShortMarginRatioByMoney;
	///不跟随交易所投资者空头保证金费
	TShfeFtdcMoneyType	NoShortMarginRatioByVolume;


};

///结算引用
struct CShfeFtdcSettlementRefField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;


};

///当前时间
struct CShfeFtdcCurrentTimeField
{
	///当前日期
	TShfeFtdcDateType	CurrDate;
	///当前时间
	TShfeFtdcTimeType	CurrTime;
	///当前时间（毫秒）
	TShfeFtdcMillisecType	CurrMillisec;
	///业务日期
	TShfeFtdcDateType	ActionDay;


};

///通讯阶段
struct CShfeFtdcCommPhaseField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///通讯时段编号
	TShfeFtdcCommPhaseNoType	CommPhaseNo;
	///系统编号
	TShfeFtdcSystemIDType	SystemID;


};

///登录信息
struct CShfeFtdcLoginInfoField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///登录日期
	TShfeFtdcDateType	LoginDate;
	///登录时间
	TShfeFtdcTimeType	LoginTime;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///接口端产品信息
	TShfeFtdcProductInfoType	InterfaceProductInfo;
	///协议信息
	TShfeFtdcProtocolInfoType	ProtocolInfo;
	///系统名称
	TShfeFtdcSystemNameType	SystemName;
	///密码,已弃用
	TShfeFtdcPasswordType	PasswordDeprecated;
	///最大报单引用
	TShfeFtdcOrderRefType	MaxOrderRef;
	///上期所时间
	TShfeFtdcTimeType	SHFETime;
	///大商所时间
	TShfeFtdcTimeType	DCETime;
	///郑商所时间
	TShfeFtdcTimeType	CZCETime;
	///中金所时间
	TShfeFtdcTimeType	FFEXTime;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///动态密码
	TShfeFtdcPasswordType	OneTimePassword;
	///能源中心时间
	TShfeFtdcTimeType	INETime;
	///查询时是否需要流控
	TShfeFtdcBoolType	IsQryControl;
	///登录备注
	TShfeFtdcLoginRemarkType	LoginRemark;
	///密码
	TShfeFtdcPasswordType	Password;


};

///登录信息
struct CShfeFtdcLogoutAllField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///系统名称
	TShfeFtdcSystemNameType	SystemName;


};

///前置状态
struct CShfeFtdcFrontStatusField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///上次报告日期
	TShfeFtdcDateType	LastReportDate;
	///上次报告时间
	TShfeFtdcTimeType	LastReportTime;
	///是否活跃
	TShfeFtdcBoolType	IsActive;


};

///用户口令变更
struct CShfeFtdcUserPasswordUpdateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///原来的口令
	TShfeFtdcPasswordType	OldPassword;
	///新的口令
	TShfeFtdcPasswordType	NewPassword;


};

///输入报单
struct CShfeFtdcInputOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///报单
struct CShfeFtdcOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单提示序号
	TShfeFtdcSequenceNoType	NotifySequence;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///报单来源
	TShfeFtdcOrderSourceType	OrderSource;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单类型
	TShfeFtdcOrderTypeType	OrderType;
	///今成交数量
	TShfeFtdcVolumeType	VolumeTraded;
	///剩余数量
	TShfeFtdcVolumeType	VolumeTotal;
	///报单日期
	TShfeFtdcDateType	InsertDate;
	///委托时间
	TShfeFtdcTimeType	InsertTime;
	///激活时间
	TShfeFtdcTimeType	ActiveTime;
	///挂起时间
	TShfeFtdcTimeType	SuspendTime;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///撤销时间
	TShfeFtdcTimeType	CancelTime;
	///最后修改交易所交易员代码
	TShfeFtdcTraderIDType	ActiveTraderID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///操作用户代码
	TShfeFtdcUserIDType	ActiveUserID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///相关报单
	TShfeFtdcOrderSysIDType	RelativeOrderSysID;
	///郑商所成交数量
	TShfeFtdcVolumeType	ZCETotalTradedVolume;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///交易所报单
struct CShfeFtdcExchangeOrderField
{
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单提示序号
	TShfeFtdcSequenceNoType	NotifySequence;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///报单来源
	TShfeFtdcOrderSourceType	OrderSource;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单类型
	TShfeFtdcOrderTypeType	OrderType;
	///今成交数量
	TShfeFtdcVolumeType	VolumeTraded;
	///剩余数量
	TShfeFtdcVolumeType	VolumeTotal;
	///报单日期
	TShfeFtdcDateType	InsertDate;
	///委托时间
	TShfeFtdcTimeType	InsertTime;
	///激活时间
	TShfeFtdcTimeType	ActiveTime;
	///挂起时间
	TShfeFtdcTimeType	SuspendTime;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///撤销时间
	TShfeFtdcTimeType	CancelTime;
	///最后修改交易所交易员代码
	TShfeFtdcTraderIDType	ActiveTraderID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///交易所报单插入失败
struct CShfeFtdcExchangeOrderInsertErrorField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///输入报单操作
struct CShfeFtdcInputOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///报单操作引用
	TShfeFtdcOrderActionRefType	OrderActionRef;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///操作标志
	TShfeFtdcActionFlagType	ActionFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量变化
	TShfeFtdcVolumeType	VolumeChange;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///报单操作
struct CShfeFtdcOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///报单操作引用
	TShfeFtdcOrderActionRefType	OrderActionRef;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///操作标志
	TShfeFtdcActionFlagType	ActionFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量变化
	TShfeFtdcVolumeType	VolumeChange;
	///操作日期
	TShfeFtdcDateType	ActionDate;
	///操作时间
	TShfeFtdcTimeType	ActionTime;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///操作本地编号
	TShfeFtdcOrderLocalIDType	ActionLocalID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///报单操作状态
	TShfeFtdcOrderActionStatusType	OrderActionStatus;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///交易所报单操作
struct CShfeFtdcExchangeOrderActionField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///操作标志
	TShfeFtdcActionFlagType	ActionFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量变化
	TShfeFtdcVolumeType	VolumeChange;
	///操作日期
	TShfeFtdcDateType	ActionDate;
	///操作时间
	TShfeFtdcTimeType	ActionTime;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///操作本地编号
	TShfeFtdcOrderLocalIDType	ActionLocalID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///报单操作状态
	TShfeFtdcOrderActionStatusType	OrderActionStatus;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///交易所报单操作失败
struct CShfeFtdcExchangeOrderActionErrorField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///操作本地编号
	TShfeFtdcOrderLocalIDType	ActionLocalID;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///交易所成交
struct CShfeFtdcExchangeTradeField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易角色
	TShfeFtdcTradingRoleType	TradingRole;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///价格
	TShfeFtdcPriceType	Price;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交时期
	TShfeFtdcDateType	TradeDate;
	///成交时间
	TShfeFtdcTimeType	TradeTime;
	///成交类型
	TShfeFtdcTradeTypeType	TradeType;
	///成交价来源
	TShfeFtdcPriceSourceType	PriceSource;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///成交来源
	TShfeFtdcTradeSourceType	TradeSource;


};

///成交
struct CShfeFtdcTradeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易角色
	TShfeFtdcTradingRoleType	TradingRole;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///价格
	TShfeFtdcPriceType	Price;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交时期
	TShfeFtdcDateType	TradeDate;
	///成交时间
	TShfeFtdcTimeType	TradeTime;
	///成交类型
	TShfeFtdcTradeTypeType	TradeType;
	///成交价来源
	TShfeFtdcPriceSourceType	PriceSource;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///成交来源
	TShfeFtdcTradeSourceType	TradeSource;


};

///用户会话
struct CShfeFtdcUserSessionField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///登录日期
	TShfeFtdcDateType	LoginDate;
	///登录时间
	TShfeFtdcTimeType	LoginTime;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///接口端产品信息
	TShfeFtdcProductInfoType	InterfaceProductInfo;
	///协议信息
	TShfeFtdcProtocolInfoType	ProtocolInfo;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///登录备注
	TShfeFtdcLoginRemarkType	LoginRemark;


};

///查询最大报单数量
struct CShfeFtdcQueryMaxOrderVolumeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///最大允许报单数量
	TShfeFtdcVolumeType	MaxVolume;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///投资者结算结果确认信息
struct CShfeFtdcSettlementInfoConfirmField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///确认日期
	TShfeFtdcDateType	ConfirmDate;
	///确认时间
	TShfeFtdcTimeType	ConfirmTime;


};

///出入金同步
struct CShfeFtdcSyncDepositField
{
	///出入金流水号
	TShfeFtdcDepositSeqNoType	DepositSeqNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///是否强制进行
	TShfeFtdcBoolType	IsForce;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///经纪公司同步
struct CShfeFtdcBrokerSyncField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///正在同步中的投资者
struct CShfeFtdcSyncingInvestorField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者名称
	TShfeFtdcPartyNameType	InvestorName;
	///证件类型
	TShfeFtdcIdCardTypeType	IdentifiedCardType;
	///证件号码
	TShfeFtdcIdentifiedCardNoType	IdentifiedCardNo;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///联系电话
	TShfeFtdcTelephoneType	Telephone;
	///通讯地址
	TShfeFtdcAddressType	Address;
	///开户日期
	TShfeFtdcDateType	OpenDate;
	///手机
	TShfeFtdcMobileType	Mobile;
	///手续费率模板代码
	TShfeFtdcInvestorIDType	CommModelID;
	///保证金率模板代码
	TShfeFtdcInvestorIDType	MarginModelID;


};

///正在同步中的交易代码
struct CShfeFtdcSyncingTradingCodeField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///交易编码类型
	TShfeFtdcClientIDTypeType	ClientIDType;


};

///正在同步中的投资者分组
struct CShfeFtdcSyncingInvestorGroupField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者分组名称
	TShfeFtdcInvestorGroupNameType	InvestorGroupName;


};

///正在同步中的交易账号
struct CShfeFtdcSyncingTradingAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///上次质押金额
	TShfeFtdcMoneyType	PreMortgage;
	///上次信用额度
	TShfeFtdcMoneyType	PreCredit;
	///上次存款额
	TShfeFtdcMoneyType	PreDeposit;
	///上次结算准备金
	TShfeFtdcMoneyType	PreBalance;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///利息基数
	TShfeFtdcMoneyType	InterestBase;
	///利息收入
	TShfeFtdcMoneyType	Interest;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///出金金额
	TShfeFtdcMoneyType	Withdraw;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///当前保证金总额
	TShfeFtdcMoneyType	CurrMargin;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///期货结算准备金
	TShfeFtdcMoneyType	Balance;
	///可用资金
	TShfeFtdcMoneyType	Available;
	///可取资金
	TShfeFtdcMoneyType	WithdrawQuota;
	///基本准备金
	TShfeFtdcMoneyType	Reserve;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///信用额度
	TShfeFtdcMoneyType	Credit;
	///质押金额
	TShfeFtdcMoneyType	Mortgage;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///投资者交割保证金
	TShfeFtdcMoneyType	DeliveryMargin;
	///交易所交割保证金
	TShfeFtdcMoneyType	ExchangeDeliveryMargin;
	///保底期货结算准备金
	TShfeFtdcMoneyType	ReserveBalance;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageIn;
	///上次货币质出金额
	TShfeFtdcMoneyType	PreFundMortgageOut;
	///货币质入金额
	TShfeFtdcMoneyType	FundMortgageIn;
	///货币质出金额
	TShfeFtdcMoneyType	FundMortgageOut;
	///货币质押余额
	TShfeFtdcMoneyType	FundMortgageAvailable;
	///可质押货币金额
	TShfeFtdcMoneyType	MortgageableFund;
	///特殊产品占用保证金
	TShfeFtdcMoneyType	SpecProductMargin;
	///特殊产品冻结保证金
	TShfeFtdcMoneyType	SpecProductFrozenMargin;
	///特殊产品手续费
	TShfeFtdcMoneyType	SpecProductCommission;
	///特殊产品冻结手续费
	TShfeFtdcMoneyType	SpecProductFrozenCommission;
	///特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfit;
	///特殊产品平仓盈亏
	TShfeFtdcMoneyType	SpecProductCloseProfit;
	///根据持仓盈亏算法计算的特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfitByAlg;
	///特殊产品交易所保证金
	TShfeFtdcMoneyType	SpecProductExchangeMargin;
	///延时换汇冻结金额
	TShfeFtdcMoneyType	FrozenSwap;
	///剩余换汇额度
	TShfeFtdcMoneyType	RemainSwap;
	///期权平仓盈亏
	TShfeFtdcMoneyType	OptionCloseProfit;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///正在同步中的投资者持仓
struct CShfeFtdcSyncingInvestorPositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///上日持仓
	TShfeFtdcVolumeType	YdPosition;
	///今日持仓
	TShfeFtdcVolumeType	Position;
	///多头冻结
	TShfeFtdcVolumeType	LongFrozen;
	///空头冻结
	TShfeFtdcVolumeType	ShortFrozen;
	///开仓冻结金额
	TShfeFtdcMoneyType	LongFrozenAmount;
	///开仓冻结金额
	TShfeFtdcMoneyType	ShortFrozenAmount;
	///开仓量
	TShfeFtdcVolumeType	OpenVolume;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///开仓金额
	TShfeFtdcMoneyType	OpenAmount;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;
	///持仓成本
	TShfeFtdcMoneyType	PositionCost;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///开仓成本
	TShfeFtdcMoneyType	OpenCost;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///组合成交形成的持仓
	TShfeFtdcVolumeType	CombPosition;
	///组合多头冻结
	TShfeFtdcVolumeType	CombLongFrozen;
	///组合空头冻结
	TShfeFtdcVolumeType	CombShortFrozen;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///今日持仓
	TShfeFtdcVolumeType	TodayPosition;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///执行冻结
	TShfeFtdcVolumeType	StrikeFrozen;
	///执行冻结金额
	TShfeFtdcMoneyType	StrikeFrozenAmount;
	///放弃执行冻结
	TShfeFtdcVolumeType	AbandonFrozen;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行冻结的昨仓
	TShfeFtdcVolumeType	YdStrikeFrozen;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///正在同步中的合约保证金率
struct CShfeFtdcSyncingInstrumentMarginRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///是否相对交易所收取
	TShfeFtdcBoolType	IsRelative;


};

///正在同步中的合约手续费率
struct CShfeFtdcSyncingInstrumentCommissionRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///开仓手续费率
	TShfeFtdcRatioType	OpenRatioByMoney;
	///开仓手续费
	TShfeFtdcRatioType	OpenRatioByVolume;
	///平仓手续费率
	TShfeFtdcRatioType	CloseRatioByMoney;
	///平仓手续费
	TShfeFtdcRatioType	CloseRatioByVolume;
	///平今手续费率
	TShfeFtdcRatioType	CloseTodayRatioByMoney;
	///平今手续费
	TShfeFtdcRatioType	CloseTodayRatioByVolume;


};

///正在同步中的合约交易权限
struct CShfeFtdcSyncingInstrumentTradingRightField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易权限
	TShfeFtdcTradingRightType	TradingRight;


};

///查询报单
struct CShfeFtdcQryOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///开始时间
	TShfeFtdcTimeType	InsertTimeStart;
	///结束时间
	TShfeFtdcTimeType	InsertTimeEnd;


};

///查询成交
struct CShfeFtdcQryTradeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///开始时间
	TShfeFtdcTimeType	TradeTimeStart;
	///结束时间
	TShfeFtdcTimeType	TradeTimeEnd;


};

///查询投资者持仓
struct CShfeFtdcQryInvestorPositionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///查询资金账户
struct CShfeFtdcQryTradingAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///查询投资者
struct CShfeFtdcQryInvestorField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///查询交易编码
struct CShfeFtdcQryTradingCodeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易编码类型
	TShfeFtdcClientIDTypeType	ClientIDType;


};

///查询交易编码
struct CShfeFtdcQryInvestorGroupField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///查询交易编码
struct CShfeFtdcQryInstrumentMarginRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;


};

///查询手续费率
struct CShfeFtdcQryInstrumentCommissionRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///查询交易编码
struct CShfeFtdcQryInstrumentTradingRightField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///查询经纪公司
struct CShfeFtdcQryBrokerField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///查询交易员
struct CShfeFtdcQryTraderField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;


};

///查询管理用户功能权限
struct CShfeFtdcQrySuperUserFunctionField
{
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询用户会话
struct CShfeFtdcQryUserSessionField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询经纪公司会员代码
struct CShfeFtdcQryPartBrokerField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;


};

///查询前置状态
struct CShfeFtdcQryFrontStatusField
{
	///前置编号
	TShfeFtdcFrontIDType	FrontID;


};

///查询交易所报单
struct CShfeFtdcQryExchangeOrderField
{
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;


};

///查询报单操作
struct CShfeFtdcQryOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///查询交易所报单操作
struct CShfeFtdcQryExchangeOrderActionField
{
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;


};

///查询管理用户
struct CShfeFtdcQrySuperUserField
{
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询交易所
struct CShfeFtdcQryExchangeField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///查询产品
struct CShfeFtdcQryProductField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///产品类型
	TShfeFtdcProductClassType	ProductClass;


};

///查询合约
struct CShfeFtdcQryInstrumentField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;


};

///查询行情
struct CShfeFtdcQryDepthMarketDataField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///查询经纪公司用户
struct CShfeFtdcQryBrokerUserField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询经纪公司用户权限
struct CShfeFtdcQryBrokerUserFunctionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询交易员报盘机
struct CShfeFtdcQryTraderOfferField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;


};

///查询出入金流水
struct CShfeFtdcQrySyncDepositField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///出入金流水号
	TShfeFtdcDepositSeqNoType	DepositSeqNo;


};

///查询投资者结算结果
struct CShfeFtdcQrySettlementInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易日
	TShfeFtdcDateType	TradingDay;


};

///查询报单
struct CShfeFtdcQryHisOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///开始时间
	TShfeFtdcTimeType	InsertTimeStart;
	///结束时间
	TShfeFtdcTimeType	InsertTimeEnd;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;


};

///组织架构投资者对应关系扁平表
struct CShfeFtdcInvestorDepartmentFlatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///组织架构代码
	TShfeFtdcInvestorIDType	DepartmentID;


};

///操作员组织架构关系
struct CShfeFtdcDepartmentUserField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者范围
	TShfeFtdcDepartmentRangeType	InvestorRange;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///组织架构
struct CShfeFtdcDepartmentField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///组织架构代码
	TShfeFtdcInvestorIDType	DepartmentID;
	///组织架构名称
	TShfeFtdcPartyNameType	DepartmentName;


};

///查询经纪公司资金
struct CShfeFtdcQueryBrokerDepositField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///经纪公司资金
struct CShfeFtdcBrokerDepositField
{
	///交易日期
	TShfeFtdcTradeDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///上次结算准备金
	TShfeFtdcMoneyType	PreBalance;
	///当前保证金总额
	TShfeFtdcMoneyType	CurrMargin;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///期货结算准备金
	TShfeFtdcMoneyType	Balance;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///出金金额
	TShfeFtdcMoneyType	Withdraw;
	///可提资金
	TShfeFtdcMoneyType	Available;
	///基本准备金
	TShfeFtdcMoneyType	Reserve;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;


};

///市场行情
struct CShfeFtdcMarketDataField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///最新价
	TShfeFtdcPriceType	LastPrice;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///昨收盘
	TShfeFtdcPriceType	PreClosePrice;
	///昨持仓量
	TShfeFtdcLargeVolumeType	PreOpenInterest;
	///今开盘
	TShfeFtdcPriceType	OpenPrice;
	///最高价
	TShfeFtdcPriceType	HighestPrice;
	///最低价
	TShfeFtdcPriceType	LowestPrice;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交金额
	TShfeFtdcMoneyType	Turnover;
	///持仓量
	TShfeFtdcLargeVolumeType	OpenInterest;
	///今收盘
	TShfeFtdcPriceType	ClosePrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///涨停板价
	TShfeFtdcPriceType	UpperLimitPrice;
	///跌停板价
	TShfeFtdcPriceType	LowerLimitPrice;
	///昨虚实度
	TShfeFtdcRatioType	PreDelta;
	///今虚实度
	TShfeFtdcRatioType	CurrDelta;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///最后修改毫秒
	TShfeFtdcMillisecType	UpdateMillisec;
	///业务日期
	TShfeFtdcDateType	ActionDay;


};

///行情基础属性
struct CShfeFtdcMarketDataBaseField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///昨收盘
	TShfeFtdcPriceType	PreClosePrice;
	///昨持仓量
	TShfeFtdcLargeVolumeType	PreOpenInterest;
	///昨虚实度
	TShfeFtdcRatioType	PreDelta;


};

///行情静态属性
struct CShfeFtdcMarketDataStaticField
{
	///今开盘
	TShfeFtdcPriceType	OpenPrice;
	///最高价
	TShfeFtdcPriceType	HighestPrice;
	///最低价
	TShfeFtdcPriceType	LowestPrice;
	///今收盘
	TShfeFtdcPriceType	ClosePrice;
	///涨停板价
	TShfeFtdcPriceType	UpperLimitPrice;
	///跌停板价
	TShfeFtdcPriceType	LowerLimitPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///今虚实度
	TShfeFtdcRatioType	CurrDelta;


};

///行情最新成交属性
struct CShfeFtdcMarketDataLastMatchField
{
	///最新价
	TShfeFtdcPriceType	LastPrice;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交金额
	TShfeFtdcMoneyType	Turnover;
	///持仓量
	TShfeFtdcLargeVolumeType	OpenInterest;


};

///行情最优价属性
struct CShfeFtdcMarketDataBestPriceField
{
	///申买价一
	TShfeFtdcPriceType	BidPrice1;
	///申买量一
	TShfeFtdcVolumeType	BidVolume1;
	///申卖价一
	TShfeFtdcPriceType	AskPrice1;
	///申卖量一
	TShfeFtdcVolumeType	AskVolume1;


};

///行情申买二、三属性
struct CShfeFtdcMarketDataBid23Field
{
	///申买价二
	TShfeFtdcPriceType	BidPrice2;
	///申买量二
	TShfeFtdcVolumeType	BidVolume2;
	///申买价三
	TShfeFtdcPriceType	BidPrice3;
	///申买量三
	TShfeFtdcVolumeType	BidVolume3;


};

///行情申卖二、三属性
struct CShfeFtdcMarketDataAsk23Field
{
	///申卖价二
	TShfeFtdcPriceType	AskPrice2;
	///申卖量二
	TShfeFtdcVolumeType	AskVolume2;
	///申卖价三
	TShfeFtdcPriceType	AskPrice3;
	///申卖量三
	TShfeFtdcVolumeType	AskVolume3;


};

///行情申买四、五属性
struct CShfeFtdcMarketDataBid45Field
{
	///申买价四
	TShfeFtdcPriceType	BidPrice4;
	///申买量四
	TShfeFtdcVolumeType	BidVolume4;
	///申买价五
	TShfeFtdcPriceType	BidPrice5;
	///申买量五
	TShfeFtdcVolumeType	BidVolume5;


};

///行情申卖四、五属性
struct CShfeFtdcMarketDataAsk45Field
{
	///申卖价四
	TShfeFtdcPriceType	AskPrice4;
	///申卖量四
	TShfeFtdcVolumeType	AskVolume4;
	///申卖价五
	TShfeFtdcPriceType	AskPrice5;
	///申卖量五
	TShfeFtdcVolumeType	AskVolume5;


};

///行情更新时间属性
struct CShfeFtdcMarketDataUpdateTimeField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///最后修改毫秒
	TShfeFtdcMillisecType	UpdateMillisec;
	///业务日期
	TShfeFtdcDateType	ActionDay;


};

///指定的合约
struct CShfeFtdcSpecificInstrumentField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///合约状态
struct CShfeFtdcInstrumentStatusField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///结算组代码
	TShfeFtdcSettlementGroupIDType	SettlementGroupID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///合约交易状态
	TShfeFtdcInstrumentStatusType	InstrumentStatus;
	///交易阶段编号
	TShfeFtdcTradingSegmentSNType	TradingSegmentSN;
	///进入本状态时间
	TShfeFtdcTimeType	EnterTime;
	///进入本状态原因
	TShfeFtdcInstStatusEnterReasonType	EnterReason;


};

///查询合约状态
struct CShfeFtdcQryInstrumentStatusField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;


};

///投资者账户
struct CShfeFtdcInvestorAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///浮动盈亏算法
struct CShfeFtdcPositionProfitAlgorithmField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///盈亏算法
	TShfeFtdcAlgorithmType	Algorithm;
	///备注
	TShfeFtdcMemoType	Memo;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///会员资金折扣
struct CShfeFtdcDiscountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///资金折扣比例
	TShfeFtdcRatioType	Discount;


};

///查询转帐银行
struct CShfeFtdcQryTransferBankField
{
	///银行代码
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码
	TShfeFtdcBankBrchIDType	BankBrchID;


};

///转帐银行
struct CShfeFtdcTransferBankField
{
	///银行代码
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码
	TShfeFtdcBankBrchIDType	BankBrchID;
	///银行名称
	TShfeFtdcBankNameType	BankName;
	///是否活跃
	TShfeFtdcBoolType	IsActive;


};

///查询投资者持仓明细
struct CShfeFtdcQryInvestorPositionDetailField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///投资者持仓明细
struct CShfeFtdcInvestorPositionDetailField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///买卖
	TShfeFtdcDirectionType	Direction;
	///开仓日期
	TShfeFtdcDateType	OpenDate;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///数量
	TShfeFtdcVolumeType	Volume;
	///开仓价
	TShfeFtdcPriceType	OpenPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///成交类型
	TShfeFtdcTradeTypeType	TradeType;
	///组合合约代码
	TShfeFtdcInstrumentIDType	CombInstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///逐日盯市持仓盈亏
	TShfeFtdcMoneyType	PositionProfitByDate;
	///逐笔对冲持仓盈亏
	TShfeFtdcMoneyType	PositionProfitByTrade;
	///投资者保证金
	TShfeFtdcMoneyType	Margin;
	///交易所保证金
	TShfeFtdcMoneyType	ExchMargin;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///昨结算价
	TShfeFtdcPriceType	LastSettlementPrice;
	///结算价
	TShfeFtdcPriceType	SettlementPrice;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;


};

///资金账户口令域
struct CShfeFtdcTradingAccountPasswordField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///密码
	TShfeFtdcPasswordType	Password;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///交易所行情报盘机
struct CShfeFtdcMDTraderOfferField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///密码
	TShfeFtdcPasswordType	Password;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所交易员连接状态
	TShfeFtdcTraderConnectStatusType	TraderConnectStatus;
	///发出连接请求的日期
	TShfeFtdcDateType	ConnectRequestDate;
	///发出连接请求的时间
	TShfeFtdcTimeType	ConnectRequestTime;
	///上次报告日期
	TShfeFtdcDateType	LastReportDate;
	///上次报告时间
	TShfeFtdcTimeType	LastReportTime;
	///完成连接日期
	TShfeFtdcDateType	ConnectDate;
	///完成连接时间
	TShfeFtdcTimeType	ConnectTime;
	///启动日期
	TShfeFtdcDateType	StartDate;
	///启动时间
	TShfeFtdcTimeType	StartTime;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///本席位最大成交编号
	TShfeFtdcTradeIDType	MaxTradeID;
	///本席位最大报单备拷
	TShfeFtdcReturnCodeType	MaxOrderMessageReference;


};

///查询行情报盘机
struct CShfeFtdcQryMDTraderOfferField
{
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;


};

///查询客户通知
struct CShfeFtdcQryNoticeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///客户通知
struct CShfeFtdcNoticeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///消息正文
	TShfeFtdcContentType	Content;
	///经纪公司通知内容序列号
	TShfeFtdcSequenceLabelType	SequenceLabel;


};

///用户权限
struct CShfeFtdcUserRightField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///客户权限类型
	TShfeFtdcUserRightTypeType	UserRightType;
	///是否禁止
	TShfeFtdcBoolType	IsForbidden;


};

///查询结算信息确认域
struct CShfeFtdcQrySettlementInfoConfirmField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///装载结算信息
struct CShfeFtdcLoadSettlementInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///经纪公司可提资金算法表
struct CShfeFtdcBrokerWithdrawAlgorithmField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///可提资金算法
	TShfeFtdcAlgorithmType	WithdrawAlgorithm;
	///资金使用率
	TShfeFtdcRatioType	UsingRatio;
	///可提是否包含平仓盈利
	TShfeFtdcIncludeCloseProfitType	IncludeCloseProfit;
	///本日无仓且无成交客户是否受可提比例限制
	TShfeFtdcAllWithoutTradeType	AllWithoutTrade;
	///可用是否包含平仓盈利
	TShfeFtdcIncludeCloseProfitType	AvailIncludeCloseProfit;
	///是否启用用户事件
	TShfeFtdcBoolType	IsBrokerUserEvent;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///货币质押比率
	TShfeFtdcRatioType	FundMortgageRatio;
	///权益算法
	TShfeFtdcBalanceAlgorithmType	BalanceAlgorithm;


};

///资金账户口令变更域
struct CShfeFtdcTradingAccountPasswordUpdateV1Field
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///原来的口令
	TShfeFtdcPasswordType	OldPassword;
	///新的口令
	TShfeFtdcPasswordType	NewPassword;


};

///资金账户口令变更域
struct CShfeFtdcTradingAccountPasswordUpdateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///原来的口令
	TShfeFtdcPasswordType	OldPassword;
	///新的口令
	TShfeFtdcPasswordType	NewPassword;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///查询组合合约分腿
struct CShfeFtdcQryCombinationLegField
{
	///组合合约代码
	TShfeFtdcInstrumentIDType	CombInstrumentID;
	///单腿编号
	TShfeFtdcLegIDType	LegID;
	///单腿合约代码
	TShfeFtdcInstrumentIDType	LegInstrumentID;


};

///查询组合合约分腿
struct CShfeFtdcQrySyncStatusField
{
	///交易日
	TShfeFtdcDateType	TradingDay;


};

///组合交易合约的单腿
struct CShfeFtdcCombinationLegField
{
	///组合合约代码
	TShfeFtdcInstrumentIDType	CombInstrumentID;
	///单腿编号
	TShfeFtdcLegIDType	LegID;
	///单腿合约代码
	TShfeFtdcInstrumentIDType	LegInstrumentID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///单腿乘数
	TShfeFtdcLegMultipleType	LegMultiple;
	///派生层数
	TShfeFtdcImplyLevelType	ImplyLevel;


};

///数据同步状态
struct CShfeFtdcSyncStatusField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///数据同步状态
	TShfeFtdcDataSyncStatusType	DataSyncStatus;


};

///查询联系人
struct CShfeFtdcQryLinkManField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///联系人
struct CShfeFtdcLinkManField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///联系人类型
	TShfeFtdcPersonTypeType	PersonType;
	///证件类型
	TShfeFtdcIdCardTypeType	IdentifiedCardType;
	///证件号码
	TShfeFtdcIdentifiedCardNoType	IdentifiedCardNo;
	///名称
	TShfeFtdcPartyNameType	PersonName;
	///联系电话
	TShfeFtdcTelephoneType	Telephone;
	///通讯地址
	TShfeFtdcAddressType	Address;
	///邮政编码
	TShfeFtdcZipCodeType	ZipCode;
	///优先级
	TShfeFtdcPriorityType	Priority;
	///开户邮政编码
	TShfeFtdcUOAZipCodeType	UOAZipCode;
	///全称
	TShfeFtdcInvestorFullNameType	PersonFullName;


};

///查询经纪公司用户事件
struct CShfeFtdcQryBrokerUserEventField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///用户事件类型
	TShfeFtdcUserEventTypeType	UserEventType;


};

///查询经纪公司用户事件
struct CShfeFtdcBrokerUserEventField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///用户事件类型
	TShfeFtdcUserEventTypeType	UserEventType;
	///用户事件序号
	TShfeFtdcSequenceNoType	EventSequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///用户事件信息
	TShfeFtdcUserEventInfoType	UserEventInfo;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///查询签约银行请求
struct CShfeFtdcQryContractBankField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///银行代码
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码
	TShfeFtdcBankBrchIDType	BankBrchID;


};

///查询签约银行响应
struct CShfeFtdcContractBankField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///银行代码
	TShfeFtdcBankIDType	BankID;
	///银行分中心代码
	TShfeFtdcBankBrchIDType	BankBrchID;
	///银行名称
	TShfeFtdcBankNameType	BankName;


};

///投资者组合持仓明细
struct CShfeFtdcInvestorPositionCombineDetailField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///开仓日期
	TShfeFtdcDateType	OpenDate;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///组合编号
	TShfeFtdcTradeIDType	ComTradeID;
	///撮合编号
	TShfeFtdcTradeIDType	TradeID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///买卖
	TShfeFtdcDirectionType	Direction;
	///持仓量
	TShfeFtdcVolumeType	TotalAmt;
	///投资者保证金
	TShfeFtdcMoneyType	Margin;
	///交易所保证金
	TShfeFtdcMoneyType	ExchMargin;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///单腿编号
	TShfeFtdcLegIDType	LegID;
	///单腿乘数
	TShfeFtdcLegMultipleType	LegMultiple;
	///组合持仓合约编码
	TShfeFtdcInstrumentIDType	CombInstrumentID;
	///成交组号
	TShfeFtdcTradeGroupIDType	TradeGroupID;


};

///预埋单
struct CShfeFtdcParkedOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///预埋报单编号
	TShfeFtdcParkedOrderIDType	ParkedOrderID;
	///用户类型
	TShfeFtdcUserTypeType	UserType;
	///预埋单状态
	TShfeFtdcParkedOrderStatusType	Status;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///输入预埋单操作
struct CShfeFtdcParkedOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///报单操作引用
	TShfeFtdcOrderActionRefType	OrderActionRef;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///操作标志
	TShfeFtdcActionFlagType	ActionFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量变化
	TShfeFtdcVolumeType	VolumeChange;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///预埋撤单单编号
	TShfeFtdcParkedOrderActionIDType	ParkedOrderActionID;
	///用户类型
	TShfeFtdcUserTypeType	UserType;
	///预埋撤单状态
	TShfeFtdcParkedOrderStatusType	Status;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///查询预埋单
struct CShfeFtdcQryParkedOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///查询预埋撤单
struct CShfeFtdcQryParkedOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///删除预埋单
struct CShfeFtdcRemoveParkedOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///预埋报单编号
	TShfeFtdcParkedOrderIDType	ParkedOrderID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///删除预埋撤单
struct CShfeFtdcRemoveParkedOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///预埋撤单编号
	TShfeFtdcParkedOrderActionIDType	ParkedOrderActionID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///经纪公司可提资金算法表
struct CShfeFtdcInvestorWithdrawAlgorithmField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///可提资金比例
	TShfeFtdcRatioType	UsingRatio;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///货币质押比率
	TShfeFtdcRatioType	FundMortgageRatio;


};

///查询组合持仓明细
struct CShfeFtdcQryInvestorPositionCombineDetailField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///组合持仓合约编码
	TShfeFtdcInstrumentIDType	CombInstrumentID;


};

///成交均价
struct CShfeFtdcMarketDataAveragePriceField
{
	///当日均价
	TShfeFtdcPriceType	AveragePrice;


};

///校验投资者密码
struct CShfeFtdcVerifyInvestorPasswordField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///密码
	TShfeFtdcPasswordType	Password;


};

///用户IP
struct CShfeFtdcUserIPField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///IP地址掩码
	TShfeFtdcIPAddressType	IPMask;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///用户事件通知信息
struct CShfeFtdcTradingNoticeInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///发送时间
	TShfeFtdcTimeType	SendTime;
	///消息正文
	TShfeFtdcContentType	FieldContent;
	///序列系列号
	TShfeFtdcSequenceSeriesType	SequenceSeries;
	///序列号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///用户事件通知
struct CShfeFtdcTradingNoticeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///序列系列号
	TShfeFtdcSequenceSeriesType	SequenceSeries;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///发送时间
	TShfeFtdcTimeType	SendTime;
	///序列号
	TShfeFtdcSequenceNoType	SequenceNo;
	///消息正文
	TShfeFtdcContentType	FieldContent;


};

///查询交易事件通知
struct CShfeFtdcQryTradingNoticeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///查询错误报单
struct CShfeFtdcQryErrOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///错误报单
struct CShfeFtdcErrOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///查询错误报单操作
struct CShfeFtdcQryErrOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///错误报单操作
struct CShfeFtdcErrOrderActionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///报单操作引用
	TShfeFtdcOrderActionRefType	OrderActionRef;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///操作标志
	TShfeFtdcActionFlagType	ActionFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量变化
	TShfeFtdcVolumeType	VolumeChange;
	///操作日期
	TShfeFtdcDateType	ActionDate;
	///操作时间
	TShfeFtdcTimeType	ActionTime;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///操作本地编号
	TShfeFtdcOrderLocalIDType	ActionLocalID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///报单操作状态
	TShfeFtdcOrderActionStatusType	OrderActionStatus;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///投资者信息摘要
struct CShfeFtdcInvestorSumInfoField
{
	///投资者人数
	TShfeFtdcVolumeType	Count;
	///MD5校验码1
	TShfeFtdcMD5Type	md5_1;
	///MD5校验码2
	TShfeFtdcMD5Type	md5_2;
	///MD5校验码3
	TShfeFtdcMD5Type	md5_3;
	///MD5校验码4
	TShfeFtdcMD5Type	md5_4;
	///MD5校验码5
	TShfeFtdcMD5Type	md5_5;
	///MD5校验码6
	TShfeFtdcMD5Type	md5_6;
	///MD5校验码7
	TShfeFtdcMD5Type	md5_7;
	///MD5校验码8
	TShfeFtdcMD5Type	md5_8;
	///MD5校验码9
	TShfeFtdcMD5Type	md5_9;
	///MD5校验码10
	TShfeFtdcMD5Type	md5_10;
	///MD5校验码11
	TShfeFtdcMD5Type	md5_11;
	///MD5校验码12
	TShfeFtdcMD5Type	md5_12;
	///MD5校验码13
	TShfeFtdcMD5Type	md5_13;
	///MD5校验码14
	TShfeFtdcMD5Type	md5_14;
	///MD5校验码15
	TShfeFtdcMD5Type	md5_15;
	///MD5校验码16
	TShfeFtdcMD5Type	md5_16;


};

///结算会话
struct CShfeFtdcSettlementSessionField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;


};

///用户登录请求
struct CShfeFtdcReqRiskUserLoginField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///密码
	TShfeFtdcPasswordType	Password;
	///客户端版本,20091230版Version=1,之前版本Version=0
	TShfeFtdcVolumeType	Version;
	///本地前置中客户端连接的SessionID
	TShfeFtdcSessionIDType	LocalSessionID;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///终端IP地址
	TShfeFtdcIPAddressType	ClientIPAddress;


};

///用户登录应答
struct CShfeFtdcRspRiskUserLoginField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///客户端版本,20091230版Version=1,之前版本Version=0
	TShfeFtdcVolumeType	Version;
	///前置类型
	TShfeFtdcFrontTypeType	FrontType;


};

///特定范围投资者信息摘要请求
struct CShfeFtdcInvestorRangeSumInfoField
{
	///投资者起始下标
	TShfeFtdcVolumeType	startindex;
	///投资者结束下标
	TShfeFtdcVolumeType	endindex;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;


};

///投资者资金查询请求
struct CShfeFtdcReqInvestorAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///起始交易日期
	TShfeFtdcDateType	TradingDayStart;
	///结束交易日期
	TShfeFtdcDateType	TradingDayEnd;
	///起始投资者代码
	TShfeFtdcInvestorIDType	InvestorIDStart;
	///结束投资者代码
	TShfeFtdcInvestorIDType	InvestorIDEnd;
	///资金排序方法
	TShfeFtdcAccountSortTypeType	SortType;
	///按排名数返回结果
	TShfeFtdcVolumeType	ResultCount;
	///按比例返回结果
	TShfeFtdcRatioType	ResultRatio;


};

///投资者资金查询响应
struct CShfeFtdcInvestorRiskAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///上次质押金额
	TShfeFtdcMoneyType	PreMortgage;
	///上次信用额度
	TShfeFtdcMoneyType	PreCredit;
	///上次存款额
	TShfeFtdcMoneyType	PreDeposit;
	///上次总权益
	TShfeFtdcMoneyType	PreBalance;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///出金金额
	TShfeFtdcMoneyType	Withdraw;
	///当前保证金总额
	TShfeFtdcMoneyType	CurrMargin;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///总权益
	TShfeFtdcMoneyType	Balance;
	///可用资金
	TShfeFtdcMoneyType	Available;
	///质押金额
	TShfeFtdcMoneyType	Mortgage;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///基本准备金
	TShfeFtdcMoneyType	Reserve;
	///可取资金
	TShfeFtdcMoneyType	WithdrawQuota;
	///信用额度
	TShfeFtdcMoneyType	Credit;
	///上次交易所保证金
	TShfeFtdcMoneyType	PreExchMargin;
	///历史强平次数
	TShfeFtdcVolumeType	ForceCloseStat;
	///投资者交割保证金
	TShfeFtdcMoneyType	DeliveryMargin;
	///交易所交割保证金
	TShfeFtdcMoneyType	ExchangeDeliveryMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///上次特殊产品占用交易所保证金
	TShfeFtdcMoneyType	PreSpecProductMargin;
	///上次特殊产品占用保证金
	TShfeFtdcMoneyType	PreSpecProductExchangeMargin;
	///上一交易日算在质押上的保证金
	TShfeFtdcMoneyType	PreMarginOnMortgage;
	///上一交易日算在质押上的交易所保证金
	TShfeFtdcMoneyType	PreExchMarginOnMortgage;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageIn;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageOut;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///交易持仓盈亏
	TShfeFtdcMoneyType	TradingPositionProfit;
	///货币质入金额
	TShfeFtdcMoneyType	FundMortgageIn;
	///货币质出金额
	TShfeFtdcMoneyType	FundMortgageOut;
	///货币质押余额
	TShfeFtdcMoneyType	FundMortgageAvailable;
	///可质押货币金额
	TShfeFtdcMoneyType	MortgageableFund;
	///特殊品种交易所占用保证金
	TShfeFtdcMoneyType	SpecProductExchangeMargin;
	///特殊产品冻结保证金
	TShfeFtdcMoneyType	SpecProductFrozenMargin;
	///特殊产品占用保证金
	TShfeFtdcMoneyType	SpecProductMargin;
	///特殊产品手续费
	TShfeFtdcMoneyType	SpecProductCommission;
	///特殊产品冻结手续费
	TShfeFtdcMoneyType	SpecProductFrozenCommission;
	///特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfit;
	///特殊产品平仓盈亏
	TShfeFtdcMoneyType	SpecProductCloseProfit;
	///根据持仓盈亏算法计算的特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfitByAlg;
	///算在质押上的保证金冻结
	TShfeFtdcMoneyType	FrozenMarginOnMortgage;
	///算在质押上的保证金
	TShfeFtdcMoneyType	MarginOnMortgage;
	///算在质押上的交易所保证金
	TShfeFtdcMoneyType	ExchMarginOnMortgage;
	///算在质押上的冻结手续费
	TShfeFtdcMoneyType	FrozenCommissionOnMortgage;
	///算在质押上的持仓盈亏
	TShfeFtdcMoneyType	PositionProfitOnMortgage;
	///算在质押上的手续费
	TShfeFtdcMoneyType	CommissionOnMortgage;
	///算在质押上的平仓盈亏
	TShfeFtdcMoneyType	CloseProfitOnMortgage;
	///期权平仓盈亏
	TShfeFtdcMoneyType	OptionCloseProfit;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///维持保证金总额
	TShfeFtdcMoneyType	MaintCurrMargin;
	///交易所维持保证金
	TShfeFtdcMoneyType	MaintExchangeMargin;
	///昨结算价计算的期权保证金
	TShfeFtdcMoneyType	FixedMargin;
	///交易所昨结算价计算的期权保证金
	TShfeFtdcMoneyType	ExchFixedMargin;
	///延时换汇冻结金额
	TShfeFtdcMoneyType	FrozenSwap;
	///剩余换汇额度
	TShfeFtdcMoneyType	RemainSwap;


};

///投资者持仓查询请求
struct CShfeFtdcReqInvestorPositionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///起始交易日期
	TShfeFtdcDateType	TradingDayStart;
	///结束交易日期
	TShfeFtdcDateType	TradingDayEnd;
	///起始投资者代码
	TShfeFtdcInvestorIDType	InvestorIDStart;
	///结束投资者代码
	TShfeFtdcInvestorIDType	InvestorIDEnd;
	///起始合约代码
	TShfeFtdcInstrumentIDType	InstIDStart;
	///结束合约代码
	TShfeFtdcInstrumentIDType	InstIDEnd;
	///起始产品代码
	TShfeFtdcInstrumentIDType	ProductIDStart;
	///结束产品代码
	TShfeFtdcInstrumentIDType	ProductIDEnd;
	///持仓排序方法
	TShfeFtdcPositionSortTypeType	SortType;
	///按排名数返回结果
	TShfeFtdcVolumeType	ResultCount;
	///按比例返回结果
	TShfeFtdcRatioType	ResultRatio;


};

///投资者持仓查询响应
struct CShfeFtdcRspInvestorPositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///上日持仓
	TShfeFtdcVolumeType	YdPosition;
	///今日持仓
	TShfeFtdcVolumeType	Position;
	///多头冻结
	TShfeFtdcVolumeType	LongFrozen;
	///空头冻结
	TShfeFtdcVolumeType	ShortFrozen;
	///开仓冻结金额
	TShfeFtdcMoneyType	LongFrozenAmount;
	///开仓冻结金额
	TShfeFtdcMoneyType	ShortFrozenAmount;
	///开仓量
	TShfeFtdcVolumeType	OpenVolume;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///开仓金额
	TShfeFtdcMoneyType	OpenAmount;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;
	///持仓成本
	TShfeFtdcMoneyType	PositionCost;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///开仓成本
	TShfeFtdcMoneyType	OpenCost;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///组合成交形成的持仓
	TShfeFtdcVolumeType	CombPosition;
	///组合多头冻结
	TShfeFtdcVolumeType	CombLongFrozen;
	///组合空头冻结
	TShfeFtdcVolumeType	CombShortFrozen;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///今日持仓
	TShfeFtdcVolumeType	TodayPosition;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///执行冻结
	TShfeFtdcVolumeType	StrikeFrozen;
	///执行冻结金额
	TShfeFtdcMoneyType	StrikeFrozenAmount;
	///放弃执行冻结
	TShfeFtdcVolumeType	AbandonFrozen;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;
	///占用的维持保证金
	TShfeFtdcMoneyType	MaintUseMargin;
	///交易所维持保证金
	TShfeFtdcMoneyType	MaintExchangeMargin;
	///期权标的合约的本次结算价
	TShfeFtdcPriceType	IndexSettlementPrice;
	///昨结算价计算的期权保证金
	TShfeFtdcMoneyType	FixedMargin;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行冻结的昨仓
	TShfeFtdcVolumeType	YdStrikeFrozen;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///投资者交易查询请求
struct CShfeFtdcReqInvestorTradeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///起始交易日期
	TShfeFtdcDateType	TradingDayStart;
	///结束交易日期
	TShfeFtdcDateType	TradingDayEnd;
	///起始投资者代码
	TShfeFtdcInvestorIDType	InvestorIDStart;
	///结束投资者代码
	TShfeFtdcInvestorIDType	InvestorIDEnd;
	///起始合约代码
	TShfeFtdcInstrumentIDType	InstIDStart;
	///结束合约代码
	TShfeFtdcInstrumentIDType	InstIDEnd;
	///起始产品代码
	TShfeFtdcInstrumentIDType	ProductIDStart;
	///结束产品代码
	TShfeFtdcInstrumentIDType	ProductIDEnd;
	///交易排序方法
	TShfeFtdcTradeSortTypeType	SortType;
	///按排名数返回结果
	TShfeFtdcVolumeType	ResultCount;
	///按比例返回结果
	TShfeFtdcRatioType	ResultRatio;


};

///投资者交易查询响应
struct CShfeFtdcRspInvestorTradeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易角色
	TShfeFtdcTradingRoleType	TradingRole;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///价格
	TShfeFtdcPriceType	Price;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交时期
	TShfeFtdcDateType	TradeDate;
	///成交时间
	TShfeFtdcTimeType	TradeTime;
	///成交类型
	TShfeFtdcTradeTypeType	TradeType;
	///成交价来源
	TShfeFtdcPriceSourceType	PriceSource;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///成交来源
	TShfeFtdcTradeSourceType	TradeSource;


};

///投资者报单查询请求
struct CShfeFtdcReqInvestorOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易日期
	TShfeFtdcDateType	TradingDay;
	///起始投资者代码
	TShfeFtdcInvestorIDType	InvestorIDStart;
	///结束投资者代码
	TShfeFtdcInvestorIDType	InvestorIDEnd;
	///起始合约代码
	TShfeFtdcInstrumentIDType	InstIDStart;
	///结束合约代码
	TShfeFtdcInstrumentIDType	InstIDEnd;
	///起始产品代码
	TShfeFtdcInstrumentIDType	ProductIDStart;
	///结束产品代码
	TShfeFtdcInstrumentIDType	ProductIDEnd;


};

///投资者报单查询响应
struct CShfeFtdcRspInvestorOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单提示序号
	TShfeFtdcSequenceNoType	NotifySequence;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///报单来源
	TShfeFtdcOrderSourceType	OrderSource;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单类型
	TShfeFtdcOrderTypeType	OrderType;
	///今成交数量
	TShfeFtdcVolumeType	VolumeTraded;
	///剩余数量
	TShfeFtdcVolumeType	VolumeTotal;
	///报单日期
	TShfeFtdcDateType	InsertDate;
	///委托时间
	TShfeFtdcTimeType	InsertTime;
	///激活时间
	TShfeFtdcTimeType	ActiveTime;
	///挂起时间
	TShfeFtdcTimeType	SuspendTime;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///撤销时间
	TShfeFtdcTimeType	CancelTime;
	///最后修改交易所交易员代码
	TShfeFtdcTraderIDType	ActiveTraderID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///操作用户代码
	TShfeFtdcUserIDType	ActiveUserID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///相关报单
	TShfeFtdcOrderSysIDType	RelativeOrderSysID;
	///郑商所成交数量
	TShfeFtdcVolumeType	ZCETotalTradedVolume;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///投资者持仓统计查询响应
struct CShfeFtdcInvestorPositionStaticField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///合约编号
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///昨持仓
	TShfeFtdcVolumeType	YdPosition;
	///总持仓
	TShfeFtdcVolumeType	Position;
	///多头持仓
	TShfeFtdcVolumeType	LongPosition;
	///空头持仓
	TShfeFtdcVolumeType	ShortPosition;
	///净持仓
	TShfeFtdcVolumeType	NetPosition;
	///投机多头持仓
	TShfeFtdcVolumeType	SpecuLongPosi;
	///投机空头持仓
	TShfeFtdcVolumeType	SpecuShortPosi;
	///保值多头持仓
	TShfeFtdcVolumeType	HedgeLongPosi;
	///保值空头持仓
	TShfeFtdcVolumeType	HedgeShortPosi;
	///今仓
	TShfeFtdcVolumeType	TodayPosition;
	///总持仓成本
	TShfeFtdcMoneyType	PositionCost;


};

///投资者成交统计查询响应
struct CShfeFtdcInvestorTradeStaticField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///合约编号
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///总成交量
	TShfeFtdcVolumeType	TotalVol;
	///总成交额
	TShfeFtdcMoneyType	TotalAmt;
	///买成交量
	TShfeFtdcVolumeType	BuyVol;
	///买成交额
	TShfeFtdcMoneyType	BuyAmt;
	///卖成交量
	TShfeFtdcVolumeType	SellVol;
	///卖成交额
	TShfeFtdcMoneyType	SellAmt;
	///净买入成交量
	TShfeFtdcVolumeType	NetVol;
	///净买入成交额
	TShfeFtdcMoneyType	NetAmt;


};

///订阅实时行情
struct CShfeFtdcSubMarketDataField
{
	///合约编号
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///合约持仓比例查询
struct CShfeFtdcQryInstPositionRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///起始合约代码
	TShfeFtdcInstrumentIDType	InstIDStart;
	///结束合约代码
	TShfeFtdcInstrumentIDType	InstIDEnd;
	///散户保值买入持仓量定义
	TShfeFtdcLargeVolumeType	hbtotal_little;
	///中户保值买入持仓量定义
	TShfeFtdcLargeVolumeType	hbtotal_medium;
	///散户保值卖出持仓量定义
	TShfeFtdcLargeVolumeType	hstotal_little;
	///中户保值卖出持仓量定义
	TShfeFtdcLargeVolumeType	hstotal_medium;
	///散户保值持仓量定义
	TShfeFtdcLargeVolumeType	htotal_little;
	///中户保值持仓量定义
	TShfeFtdcLargeVolumeType	htotal_medium;
	///散户投机买入持仓量定义
	TShfeFtdcLargeVolumeType	sbtotal_little;
	///中户投机买入持仓量定义
	TShfeFtdcLargeVolumeType	sbtotal_medium;
	///散户投机卖出持仓量定义
	TShfeFtdcLargeVolumeType	sstotal_little;
	///中户投机卖出持仓量定义
	TShfeFtdcLargeVolumeType	sstotal_medium;
	///散户投机持仓量定义
	TShfeFtdcLargeVolumeType	stotal_little;
	///中户投机持仓量定义
	TShfeFtdcLargeVolumeType	stotal_medium;
	///散户买入持仓量定义
	TShfeFtdcLargeVolumeType	buytotal_little;
	///中户买入持仓量定义
	TShfeFtdcLargeVolumeType	buytotal_medium;
	///散户卖出持仓量定义
	TShfeFtdcLargeVolumeType	selltotal_little;
	///中户卖出持仓量定义
	TShfeFtdcLargeVolumeType	selltotal_medium;
	///散户总持仓量定义
	TShfeFtdcLargeVolumeType	total_little;
	///中户总持仓量定义
	TShfeFtdcLargeVolumeType	total_medium;
	///取值方式
	TShfeFtdcValueModeType	ValueMode;


};

///合约持仓比例应答
struct CShfeFtdcRspInstPositionRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///散户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_little;
	///中户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_medium;
	///大户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_large;
	///散户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_little;
	///中户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_medium;
	///大户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_large;
	///散户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_little;
	///中户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_medium;
	///大户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_large;
	///散户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_little;
	///中户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_medium;
	///大户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_large;
	///散户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_little;
	///中户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_medium;
	///大户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_large;
	///散户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_little;
	///中户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_medium;
	///大户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_large;
	///散户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_little;
	///中户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_medium;
	///大户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_large;
	///散户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_little;
	///中户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_medium;
	///大户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_large;
	///散户总持仓量
	TShfeFtdcVolumeType	total_amt_little;
	///中户总持仓量
	TShfeFtdcVolumeType	total_amt_medium;
	///大户总持仓量
	TShfeFtdcVolumeType	total_amt_large;


};

///产品持仓比例查询
struct CShfeFtdcQryProductPositionRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///散户保值买入持仓量定义
	TShfeFtdcLargeVolumeType	hbtotal_little;
	///中户保值买入持仓量定义
	TShfeFtdcLargeVolumeType	hbtotal_medium;
	///散户保值卖出持仓量定义
	TShfeFtdcLargeVolumeType	hstotal_little;
	///中户保值卖出持仓量定义
	TShfeFtdcLargeVolumeType	hstotal_medium;
	///散户保值持仓量定义
	TShfeFtdcLargeVolumeType	htotal_little;
	///中户保值持仓量定义
	TShfeFtdcLargeVolumeType	htotal_medium;
	///散户投机买入持仓量定义
	TShfeFtdcLargeVolumeType	sbtotal_little;
	///中户投机买入持仓量定义
	TShfeFtdcLargeVolumeType	sbtotal_medium;
	///散户投机卖出持仓量定义
	TShfeFtdcLargeVolumeType	sstotal_little;
	///中户投机卖出持仓量定义
	TShfeFtdcLargeVolumeType	sstotal_medium;
	///散户投机持仓量定义
	TShfeFtdcLargeVolumeType	stotal_little;
	///中户投机持仓量定义
	TShfeFtdcLargeVolumeType	stotal_medium;
	///散户买入持仓量定义
	TShfeFtdcLargeVolumeType	buytotal_little;
	///中户买入持仓量定义
	TShfeFtdcLargeVolumeType	buytotal_medium;
	///散户卖出持仓量定义
	TShfeFtdcLargeVolumeType	selltotal_little;
	///中户卖出持仓量定义
	TShfeFtdcLargeVolumeType	selltotal_medium;
	///散户总持仓量定义
	TShfeFtdcLargeVolumeType	total_little;
	///中户总持仓量定义
	TShfeFtdcLargeVolumeType	total_medium;
	///取值方式
	TShfeFtdcValueModeType	ValueMode;


};

///产品持仓比例
struct CShfeFtdcRspProductPositionRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///散户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_little;
	///中户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_medium;
	///大户保值买入持仓量
	TShfeFtdcVolumeType	hbtotal_amt_large;
	///散户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_little;
	///中户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_medium;
	///大户保值卖出持仓量
	TShfeFtdcVolumeType	hstotal_amt_large;
	///散户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_little;
	///中户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_medium;
	///大户保值持仓量
	TShfeFtdcVolumeType	htotal_amt_large;
	///散户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_little;
	///中户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_medium;
	///大户投机买入持仓量
	TShfeFtdcVolumeType	sbtotal_amt_large;
	///散户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_little;
	///中户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_medium;
	///大户投机卖出持仓量
	TShfeFtdcVolumeType	sstotal_amt_large;
	///散户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_little;
	///中户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_medium;
	///大户投机持仓量
	TShfeFtdcVolumeType	stotal_amt_large;
	///散户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_little;
	///中户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_medium;
	///大户买入持仓量
	TShfeFtdcVolumeType	buytotal_amt_large;
	///散户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_little;
	///中户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_medium;
	///大户卖出持仓量
	TShfeFtdcVolumeType	selltotal_amt_large;
	///散户总持仓量
	TShfeFtdcVolumeType	total_amt_little;
	///中户总持仓量
	TShfeFtdcVolumeType	total_amt_medium;
	///大户总持仓量
	TShfeFtdcVolumeType	total_amt_large;


};

///历史模拟法压力测试只返回一次结果
struct CShfeFtdcIsWriteOnceField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///是否只返回一次结果
	TShfeFtdcBoolType	IsWriteOnce;


};

///压力测试结算价格(或浮动)
struct CShfeFtdcSTSettlePriceField
{
	///第几天
	TShfeFtdcDayNumberType	Day;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///结算价格类型(Day=1时有效)
	TShfeFtdcSTPriceTypeType	PriceType;
	///结算价格(或浮动)
	TShfeFtdcPriceType	Price;


};

///压力测试投资者保证金率
struct CShfeFtdcSTInstrumentMarginRateField
{
	///第几天
	TShfeFtdcDayNumberType	Day;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///是否相对交易所收取
	TShfeFtdcBoolType	IsRelative;


};

///压力测试投资者保证金率调整
struct CShfeFtdcSTInstrumentMarginRateAdjustField
{
	///第几天
	TShfeFtdcDayNumberType	Day;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///是否相对交易所收取
	TShfeFtdcBoolType	IsRelative;


};

///压力测试交易所保证金率
struct CShfeFtdcSTExchangeMarginRateField
{
	///第几天
	TShfeFtdcDayNumberType	Day;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;


};

///压力测试交易所保证金率调整
struct CShfeFtdcSTExchangeMarginRateAdjustField
{
	///第几天
	TShfeFtdcDayNumberType	Day;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///跟随交易所投资者多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///跟随交易所投资者多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///跟随交易所投资者空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///跟随交易所投资者空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///交易所多头保证金率
	TShfeFtdcRatioType	ExchLongMarginRatioByMoney;
	///交易所多头保证金费
	TShfeFtdcMoneyType	ExchLongMarginRatioByVolume;
	///交易所空头保证金率
	TShfeFtdcRatioType	ExchShortMarginRatioByMoney;
	///交易所空头保证金费
	TShfeFtdcMoneyType	ExchShortMarginRatioByVolume;
	///不跟随交易所投资者多头保证金率
	TShfeFtdcRatioType	NoLongMarginRatioByMoney;
	///不跟随交易所投资者多头保证金费
	TShfeFtdcMoneyType	NoLongMarginRatioByVolume;
	///不跟随交易所投资者空头保证金率
	TShfeFtdcRatioType	NoShortMarginRatioByMoney;
	///不跟随交易所投资者空头保证金费
	TShfeFtdcMoneyType	NoShortMarginRatioByVolume;


};

///投资者与联系人信息
struct CShfeFtdcInvestorLinkManField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者名称
	TShfeFtdcPartyNameType	InvestorName;
	///证件类型
	TShfeFtdcIdCardTypeType	IdentifiedCardType;
	///证件号码
	TShfeFtdcIdentifiedCardNoType	IdentifiedCardNo;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///联系电话
	TShfeFtdcTelephoneType	Telephone;
	///通讯地址
	TShfeFtdcAddressType	Address;
	///指定下单人证件类型
	TShfeFtdcIdCardTypeType	OrderManIdentifiedCardType;
	///指定下单人证件号码
	TShfeFtdcIdentifiedCardNoType	OrderManIdentifiedCardNo;
	///指定下单人名称
	TShfeFtdcPartyNameType	OrderManPersonName;
	///指定下单人联系电话
	TShfeFtdcTelephoneType	OrderManTelephone;
	///指定下单人通讯地址
	TShfeFtdcAddressType	OrderManAddress;
	///指定下单人邮政编码
	TShfeFtdcZipCodeType	OrderManZipCode;
	///资金调拨人证件类型
	TShfeFtdcIdCardTypeType	FundManIdentifiedCardType;
	///资金调拨人证件号码
	TShfeFtdcIdentifiedCardNoType	FundManIdentifiedCardNo;
	///资金调拨人名称
	TShfeFtdcPartyNameType	FundManPersonName;
	///资金调拨人联系电话
	TShfeFtdcTelephoneType	FundManTelephone;
	///资金调拨人通讯地址
	TShfeFtdcAddressType	FundManAddress;
	///资金调拨人邮政编码
	TShfeFtdcZipCodeType	FundManZipCode;
	///开户授权人证件类型
	TShfeFtdcIdCardTypeType	OpenManIdentifiedCardType;
	///开户授权人证件号码
	TShfeFtdcIdentifiedCardNoType	OpenManIdentifiedCardNo;
	///开户授权人名称
	TShfeFtdcPartyNameType	OpenManPersonName;
	///开户授权人联系电话
	TShfeFtdcTelephoneType	OpenManTelephone;
	///开户授权人通讯地址
	TShfeFtdcAddressType	OpenManAddress;
	///开户授权人邮政编码
	TShfeFtdcZipCodeType	OpenManZipCode;
	///结算单确认人证件类型
	TShfeFtdcIdCardTypeType	SettlementManIdentifiedCardType;
	///结算单确认人证件号码
	TShfeFtdcIdentifiedCardNoType	SettlementManIdentifiedCardNo;
	///结算单确认人名称
	TShfeFtdcPartyNameType	SettlementManPersonName;
	///结算单确认人联系电话
	TShfeFtdcTelephoneType	SettlementManTelephone;
	///结算单确认人通讯地址
	TShfeFtdcAddressType	SettlementManAddress;
	///结算单确认人邮政编码
	TShfeFtdcZipCodeType	SettlementManZipCode;
	///开户日期
	TShfeFtdcDateType	OpenDate;
	///手机
	TShfeFtdcMobileType	Mobile;
	///电子邮件
	TShfeFtdcUOAEMailType	EMail;
	///投资者类型
	TShfeFtdcInvestorTypeType	InvestorType;
	///国家代码
	TShfeFtdcUOACountryCodeType	PhoneCountryCode;
	///区号
	TShfeFtdcAreaCodeType	PhoneAreaCode;
	///开户授权人国家代码
	TShfeFtdcUOACountryCodeType	OpenPhoneCountryCode;
	///开户授权人区号
	TShfeFtdcAreaCodeType	OpenPhoneAreaCode;
	///指定下单人国家代码
	TShfeFtdcUOACountryCodeType	OrderPhoneCountryCode;
	///指定下单人区号
	TShfeFtdcAreaCodeType	OrderPhoneAreaCode;
	///资金调拨人国家代码
	TShfeFtdcUOACountryCodeType	FundPhoneCountryCode;
	///资金调拨人区号
	TShfeFtdcAreaCodeType	FundPhoneAreaCode;
	///结算单确认人国家代码
	TShfeFtdcUOACountryCodeType	SettlePhoneCountryCode;
	///结算单确认人区号
	TShfeFtdcAreaCodeType	SettlePhoneAreaCode;
	///法人证件类型
	TShfeFtdcIdCardTypeType	CompanyManIdentifiedCardType;
	///法人证件号码
	TShfeFtdcIdentifiedCardNoType	CompanyManIdentifiedCardNo;
	///法人名称
	TShfeFtdcPartyNameType	CompanyManPersonName;
	///法人联系电话
	TShfeFtdcTelephoneType	CompanyManTelephone;
	///法人通讯地址
	TShfeFtdcAddressType	CompanyManAddress;
	///法人邮政编码
	TShfeFtdcZipCodeType	CompanyManZipCode;
	///法人代表证件类型
	TShfeFtdcIdCardTypeType	CorporationManIdentifiedCardType;
	///法人代表证件号码
	TShfeFtdcIdentifiedCardNoType	CorporationManIdentifiedCardNo;
	///法人代表名称
	TShfeFtdcPartyNameType	CorporationManPersonName;
	///法人代表联系电话
	TShfeFtdcTelephoneType	CorporationManTelephone;
	///法人代表通讯地址
	TShfeFtdcAddressType	CorporationManAddress;
	///法人代表邮政编码
	TShfeFtdcZipCodeType	CorporationManZipCode;
	///联系人证件类型
	TShfeFtdcIdCardTypeType	LinkManIdentifiedCardType;
	///联系人证件号码
	TShfeFtdcIdentifiedCardNoType	LinkManIdentifiedCardNo;
	///联系人名称
	TShfeFtdcPartyNameType	LinkManPersonName;
	///联系人联系电话
	TShfeFtdcTelephoneType	LinkManTelephone;
	///联系人通讯地址
	TShfeFtdcAddressType	LinkManAddress;
	///联系人邮政编码
	TShfeFtdcZipCodeType	LinkManZipCode;
	///分户管理资产负责人证件类型
	TShfeFtdcIdCardTypeType	LedgerIdentifiedCardType;
	///分户管理资产负责人证件号码
	TShfeFtdcIdentifiedCardNoType	LedgerIdentifiedCardNo;
	///分户管理资产负责人名称
	TShfeFtdcPartyNameType	LedgerPersonName;
	///分户管理资产负责人联系电话
	TShfeFtdcTelephoneType	LedgerTelephone;
	///分户管理资产负责人通讯地址
	TShfeFtdcAddressType	LedgerAddress;
	///分户管理资产负责人邮政编码
	TShfeFtdcZipCodeType	LedgerZipCode;
	///托管人证件类型
	TShfeFtdcIdCardTypeType	TrusteeIdentifiedCardType;
	///托管人证件号码
	TShfeFtdcIdentifiedCardNoType	TrusteeIdentifiedCardNo;
	///托管人名称
	TShfeFtdcPartyNameType	TrusteePersonName;
	///托管人联系电话
	TShfeFtdcTelephoneType	TrusteeTelephone;
	///托管人通讯地址
	TShfeFtdcAddressType	TrusteeAddress;
	///托管人邮政编码
	TShfeFtdcZipCodeType	TrusteeZipCode;
	///托管机构法人代表证件类型
	TShfeFtdcIdCardTypeType	TrusteeCorporationManIdentifiedCardType;
	///托管机构法人代表证件号码
	TShfeFtdcIdentifiedCardNoType	TrusteeCorporationManIdentifiedCardNo;
	///托管机构法人代表名称
	TShfeFtdcPartyNameType	TrusteeCorporationManPersonName;
	///托管机构法人代表联系电话
	TShfeFtdcTelephoneType	TrusteeCorporationManTelephone;
	///托管机构法人代表通讯地址
	TShfeFtdcAddressType	TrusteeCorporationManAddress;
	///托管机构法人代表邮政编码
	TShfeFtdcZipCodeType	TrusteeCorporationManZipCode;
	///托管机构开户授权人证件类型
	TShfeFtdcIdCardTypeType	TrusteeOpenManIdentifiedCardType;
	///托管机构开户授权人证件号码
	TShfeFtdcIdentifiedCardNoType	TrusteeOpenManIdentifiedCardNo;
	///托管机构开户授权人名称
	TShfeFtdcPartyNameType	TrusteeOpenManPersonName;
	///托管机构开户授权人联系电话
	TShfeFtdcTelephoneType	TrusteeOpenManTelephone;
	///托管机构开户授权人通讯地址
	TShfeFtdcAddressType	TrusteeOpenManAddress;
	///托管机构开户授权人邮政编码
	TShfeFtdcZipCodeType	TrusteeOpenManZipCode;
	///托管机构联系人证件类型
	TShfeFtdcIdCardTypeType	TrusteeContactManIdentifiedCardType;
	///托管机构联系人证件号码
	TShfeFtdcIdentifiedCardNoType	TrusteeContactManIdentifiedCardNo;
	///托管机构联系人名称
	TShfeFtdcPartyNameType	TrusteeContactManPersonName;
	///托管机构联系人联系电话
	TShfeFtdcTelephoneType	TrusteeContactManTelephone;
	///托管机构联系人通讯地址
	TShfeFtdcAddressType	TrusteeContactManAddress;
	///托管机构联系人邮政编码
	TShfeFtdcZipCodeType	TrusteeContactManZipCode;


};

///订阅投资者成交
struct CShfeFtdcSubInvestorTradeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///订阅投资者持仓
struct CShfeFtdcSubInvestorPositionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///序列号
struct CShfeFtdcNotifySequenceField
{
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///有序的成交
struct CShfeFtdcSequencialTradeField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///成交编号
	TShfeFtdcTradeIDType	TradeID;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///交易角色
	TShfeFtdcTradingRoleType	TradingRole;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///价格
	TShfeFtdcPriceType	Price;
	///数量
	TShfeFtdcVolumeType	Volume;
	///成交时期
	TShfeFtdcDateType	TradeDate;
	///成交时间
	TShfeFtdcTimeType	TradeTime;
	///成交类型
	TShfeFtdcTradeTypeType	TradeType;
	///成交价来源
	TShfeFtdcPriceSourceType	PriceSource;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///成交来源
	TShfeFtdcTradeSourceType	TradeSource;


};

///有序的报单
struct CShfeFtdcSequencialOrderField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///本地报单编号
	TShfeFtdcOrderLocalIDType	OrderLocalID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单提示序号
	TShfeFtdcSequenceNoType	NotifySequence;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///报单编号
	TShfeFtdcOrderSysIDType	OrderSysID;
	///报单来源
	TShfeFtdcOrderSourceType	OrderSource;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单类型
	TShfeFtdcOrderTypeType	OrderType;
	///今成交数量
	TShfeFtdcVolumeType	VolumeTraded;
	///剩余数量
	TShfeFtdcVolumeType	VolumeTotal;
	///报单日期
	TShfeFtdcDateType	InsertDate;
	///委托时间
	TShfeFtdcTimeType	InsertTime;
	///激活时间
	TShfeFtdcTimeType	ActiveTime;
	///挂起时间
	TShfeFtdcTimeType	SuspendTime;
	///最后修改时间
	TShfeFtdcTimeType	UpdateTime;
	///撤销时间
	TShfeFtdcTimeType	CancelTime;
	///最后修改交易所交易员代码
	TShfeFtdcTraderIDType	ActiveTraderID;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///操作用户代码
	TShfeFtdcUserIDType	ActiveUserID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerOrderSeq;
	///相关报单
	TShfeFtdcOrderSysIDType	RelativeOrderSysID;
	///郑商所成交数量
	TShfeFtdcVolumeType	ZCETotalTradedVolume;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///有序的经纪公司用户事件
struct CShfeFtdcSequencialBrokerUserEventField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///用户事件类型
	TShfeFtdcUserEventTypeType	UserEventType;
	///用户事件序号
	TShfeFtdcSequenceNoType	EventSequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///用户事件信息
	TShfeFtdcUserEventInfoType	UserEventInfo;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///有序的持仓
struct CShfeFtdcSequencialPositionField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///上日持仓
	TShfeFtdcVolumeType	YdPosition;
	///今日持仓
	TShfeFtdcVolumeType	Position;
	///多头冻结
	TShfeFtdcVolumeType	LongFrozen;
	///空头冻结
	TShfeFtdcVolumeType	ShortFrozen;
	///开仓冻结金额
	TShfeFtdcMoneyType	LongFrozenAmount;
	///开仓冻结金额
	TShfeFtdcMoneyType	ShortFrozenAmount;
	///开仓量
	TShfeFtdcVolumeType	OpenVolume;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///开仓金额
	TShfeFtdcMoneyType	OpenAmount;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;
	///持仓成本
	TShfeFtdcMoneyType	PositionCost;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///开仓成本
	TShfeFtdcMoneyType	OpenCost;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///组合成交形成的持仓
	TShfeFtdcVolumeType	CombPosition;
	///组合多头冻结
	TShfeFtdcVolumeType	CombLongFrozen;
	///组合空头冻结
	TShfeFtdcVolumeType	CombShortFrozen;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///今日持仓
	TShfeFtdcVolumeType	TodayPosition;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///执行冻结
	TShfeFtdcVolumeType	StrikeFrozen;
	///执行冻结金额
	TShfeFtdcMoneyType	StrikeFrozenAmount;
	///放弃执行冻结
	TShfeFtdcVolumeType	AbandonFrozen;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;
	///占用的维持保证金
	TShfeFtdcMoneyType	MaintUseMargin;
	///交易所维持保证金
	TShfeFtdcMoneyType	MaintExchangeMargin;
	///期权标的合约的本次结算价
	TShfeFtdcPriceType	IndexSettlementPrice;
	///昨结算价计算的期权保证金
	TShfeFtdcMoneyType	FixedMargin;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行冻结的昨仓
	TShfeFtdcVolumeType	YdStrikeFrozen;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///查询客户风险通知模版
struct CShfeFtdcQryRiskNotifyPatternField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///保留字段
	TShfeFtdcCommentType	Reserve;


};

///客户风险通知模版
struct CShfeFtdcRiskNotifyPatternField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码，请求修改模版时有效
	TShfeFtdcUserIDType	UserID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///是否启用
	TShfeFtdcBoolType	IsActive;
	///是否自动系统通知
	TShfeFtdcBoolType	IsAutoSystem;
	///是否自动短信通知
	TShfeFtdcBoolType	IsAutoSMS;
	///是否自动邮件通知
	TShfeFtdcBoolType	IsAutoEmail;
	///系统通知模版内容
	TShfeFtdcRiskNofityInfoType	SystemPattern;
	///短信通知模版内容
	TShfeFtdcRiskNofityInfoType	SMSPattern;
	///邮件通知模版内容
	TShfeFtdcRiskNofityInfoType	EmailPattern;
	///预留参数(暂时只用作warnlevel)
	TShfeFtdcAddressType	Reserve;


};

///查询客户风险通知模版中自动替换字段
struct CShfeFtdcQryRiskNotifyTokenField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///客户风险通知模版中自动替换字段
struct CShfeFtdcRiskNotifyTokenField
{
	///自动替换字段
	TShfeFtdcExchangeNameType	Token;
	///自动替换字段的描述
	TShfeFtdcBrokerNameType	Description;


};

///请求发送客户风险通知的命令
struct CShfeFtdcRiskNotifyCommandField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///是否发送系统通知
	TShfeFtdcBoolType	IsAutoSystem;
	///是否发送短信通知
	TShfeFtdcBoolType	IsAutoSMS;
	///是否发送邮件通知
	TShfeFtdcBoolType	IsAutoEmail;
	///保留字段
	TShfeFtdcCommentType	Reserve;
	///通知模版内容
	TShfeFtdcRiskNofityInfoType	Pattern;
	///是否允许发送正常通知
	TShfeFtdcBoolType	IsNormal;
	///是否允许发送警示通知
	TShfeFtdcBoolType	IsWarn;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///强平标准
struct CShfeFtdcForceCloseStandardField
{
	///强平标准
	TShfeFtdcForceCloseLevelType	ForceCloseLevel;
	///强平资金释放标准
	TShfeFtdcForceCloseReleaseType	ForceCloseRelease;
	///非停板方向持仓优先
	TShfeFtdcBoolType	FCNonLimitFirst;
	///亏损大的持仓优先
	TShfeFtdcBoolType	FCPosiProfitLossFirst;
	///强平自定义金额
	TShfeFtdcMoneyType	FCCustomAmount;
	///强平自定义平止风险度M/B
	TShfeFtdcRatioType	FCCustomRiskLevel;


};

///强平持仓规则
struct CShfeFtdcForceClosePositionRuleField
{
	///产品或合约代码
	TShfeFtdcInstrumentIDType	ProductInstrumentID;
	///强平持仓方向
	TShfeFtdcForceClosePosiDirectionType	FCPosiDirection;
	///强平投机套保标志
	TShfeFtdcForceCloseHedgeFlagType	FCHedgeFlag;
	///强平组合持仓标志
	TShfeFtdcForceCloseCombPosiFlagType	FCCombPosiFlag;
	///强平历史持仓顺序
	TShfeFtdcForceCloseHistoryPosiOrderType	FCHistoryPosiOrder;
	///强平价格类型
	TShfeFtdcForceClosePriceTypeType	FCPrice;
	///限价调整点数
	TShfeFtdcVolumeType	PriceTick;
	///批量强平计算规则优先级
	TShfeFtdcFCRulePriorityType	FCRulePriority;


};

///强平名单
struct CShfeFtdcForceCloseListField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///投资者强平持仓
struct CShfeFtdcForceClosePositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///当前持仓数量
	TShfeFtdcVolumeType	Position;
	///需强平持仓数量
	TShfeFtdcVolumeType	FCPosition;
	///强平价格类型
	TShfeFtdcForceClosePriceTypeType	FCPriceType;
	///限价调整点数
	TShfeFtdcVolumeType	PriceTick;
	///强平价格
	TShfeFtdcPriceType	FCPrice;
	///平仓释放的保证金
	TShfeFtdcMoneyType	ReleaseMargin;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///平仓释放的交易所保证金
	TShfeFtdcMoneyType	ExchReleaseMargin;
	///持仓盈亏
	TShfeFtdcMoneyType	PosiProfit;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///强平应答
struct CShfeFtdcRspForceClosePositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///当前持仓数量
	TShfeFtdcVolumeType	Position;
	///需强平持仓数量
	TShfeFtdcVolumeType	FCPosition;
	///强平价格类型
	TShfeFtdcForceClosePriceTypeType	FCPriceType;
	///限价调整点数
	TShfeFtdcVolumeType	PriceTick;
	///强平价格
	TShfeFtdcPriceType	FCPrice;
	///平仓释放的保证金
	TShfeFtdcMoneyType	ReleaseMargin;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///强平场景编号
	TShfeFtdcForceCloseSceneIdType	FCID;
	///辅助强平单的生成时间
	TShfeFtdcTimeType	Time;
	///当前时间（毫秒）
	TShfeFtdcMillisecType	CurrMillisec;
	///平仓释放的交易所保证金
	TShfeFtdcMoneyType	ExchReleaseMargin;
	///持仓盈亏
	TShfeFtdcMoneyType	PosiProfit;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;


};

///风控强平报单输入
struct CShfeFtdcRiskForceCloseOrderField
{
	///风控强平类型
	TShfeFtdcForceCloseTypeType	FCType;
	///辅助强平单的生成时间
	TShfeFtdcTimeType	Time1;
	///辅助强平单的生成时间（毫秒）
	TShfeFtdcMillisecType	Millisec1;
	///强平单的提交时间
	TShfeFtdcTimeType	Time2;
	///强平单的提交时间（毫秒）
	TShfeFtdcMillisecType	Millisec2;
	///强平场景编号
	TShfeFtdcForceCloseSceneIdType	FCSceneId;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///前置状态报告
struct CShfeFtdcFrontStatusReportField
{
	///前置time(NULL)
	TShfeFtdcSessionIDType	Seconds;


};

///净持仓保证金指标参数
struct CShfeFtdcIndexNPPParamField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///产品代码
	TShfeFtdcInstrumentIDsType	ProductIDs;
	///报警值
	TShfeFtdcRatioType	WarnLevel;


};

///净持仓保证金指标值
struct CShfeFtdcIndexNPPField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///产品代码
	TShfeFtdcInstrumentIDsType	ProductIDs;
	///指标值
	TShfeFtdcRatioType	Value;
	///多头保证金
	TShfeFtdcMoneyType	LongMargin;
	///空头保证金
	TShfeFtdcMoneyType	ShortMargin;
	///总权益
	TShfeFtdcMoneyType	Balance;
	///报警值
	TShfeFtdcRatioType	WarnLevel;


};

///一般查询请求
struct CShfeFtdcNormalRiskQueryField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;


};

///查询安全价格波动范围请求
struct CShfeFtdcQrySafePriceRangeField
{
	///合约价格波动方法
	TShfeFtdcPriceVaryAlgoType	PriceVaryAlgo;
	///风险类型
	TShfeFtdcNotifyClassType	RiskLevel;
	///按合约顺序波动时的最大允许停板个数
	TShfeFtdcVolumeType	MaxLimitDay;


};

///价格波动参数
struct CShfeFtdcPriceVaryParamField
{
	///合约编号
	TShfeFtdcInstrumentIDType	InstrumentID;
	///价格波动方向
	TShfeFtdcPriceVaryDirType	Direction;
	///价格波动幅度(>=0有效)
	TShfeFtdcRatioType	Pecent;
	///价格波动的基准价类型
	TShfeFtdcPriceTypeType	BasePriceType;
	///自定义基准价
	TShfeFtdcPriceType	BasePrice;


};

///查询安全价格波动范围应答
struct CShfeFtdcSafePriceRangeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///基准价格
	TShfeFtdcPriceType	BasePrice;
	///波动价格
	TShfeFtdcPriceType	LimitPrice;
	///总波动幅度
	TShfeFtdcRatioType	VaryPecent;
	///停板个数
	TShfeFtdcVolumeType	LimitDayCnt;
	///总波动点数
	TShfeFtdcVolumeType	VaryTickCnt;
	///停板点数
	TShfeFtdcVolumeType	LimitTickCnt;
	///是否有波动限制
	TShfeFtdcBoolType	HasLimit;
	///涨跌停
	TShfeFtdcRatioType	PecentPerLimit;
	///停板波动
	TShfeFtdcRatioType	InLimitVaryPct;
	///停板外波动
	TShfeFtdcRatioType	OutLimitVaryPct;
	///总买持
	TShfeFtdcVolumeType	LongVol;
	///总卖持
	TShfeFtdcVolumeType	ShortVol;
	///波动方向
	TShfeFtdcPriceVaryDirType	Direction;
	///不利方向
	TShfeFtdcPriceVaryDirType	BadDir;


};

///查询价格波动对投资者风险的影响
struct CShfeFtdcQryPriceVaryEffectField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///风险类型
	TShfeFtdcNotifyClassType	RiskLevel;


};

///经纪公司投资者
struct CShfeFtdcBrokerInvestorField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};

///交易系统参数
struct CShfeFtdcTradeParamField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///参数代码
	TShfeFtdcTradeParamIDType	TradeParamID;
	///参数代码值
	TShfeFtdcSettlementParamValueType	TradeParamValue;
	///备注
	TShfeFtdcMemoType	Memo;


};

///风控预埋单
struct CShfeFtdcRiskParkedOrderField
{
	///预埋报单编号
	TShfeFtdcParkedOrderIDType	ParkedOrderID;
	///预埋单本地编号
	TShfeFtdcParkedOrderIDType	LocalID;
	///风控用户类型
	TShfeFtdcRiskUserTypeType	UserType;
	///预埋单状态
	TShfeFtdcRiskParkedOrderStatusType	Status;
	///预埋单状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///触发类型
	TShfeFtdcOrderTriggerTypeType	TriggerType;
	///交易阶段
	TShfeFtdcVolumeType	TradeSegment;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///风控强平类型
	TShfeFtdcForceCloseTypeType	FCType;
	///辅助强平单的生成时间
	TShfeFtdcTimeType	Time1;
	///辅助强平单的生成时间（毫秒）
	TShfeFtdcMillisecType	Millisec1;
	///强平单的提交时间
	TShfeFtdcTimeType	Time2;
	///强平单的提交时间（毫秒）
	TShfeFtdcMillisecType	Millisec2;
	///强平场景编号
	TShfeFtdcForceCloseSceneIdType	FCSceneId;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单状态信息
	TShfeFtdcErrorMsgType	OrderStatusMsg;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;
	///预埋时间
	TShfeFtdcTimeType	ParkedTime;
	///预埋量
	TShfeFtdcVolumeType	OriginalParkedVol;
	///预埋时可平量
	TShfeFtdcVolumeType	MaxCloseVol1;
	///触发时可平量
	TShfeFtdcVolumeType	MaxCloseVol2;
	///预埋时追保
	TShfeFtdcMoneyType	Call1;
	///触发时追保
	TShfeFtdcMoneyType	Call2;
	///预埋时出入金
	TShfeFtdcMoneyType	MoneyIO1;
	///触发时出入金
	TShfeFtdcMoneyType	MoneyIO2;
	///删除原因
	TShfeFtdcCommentType	DeleteReason;
	///强平资金释放标准
	TShfeFtdcForceCloseReleaseType	ForceCloseRelease;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///删除风控预埋单
struct CShfeFtdcRemoveRiskParkedOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///预埋报单编号
	TShfeFtdcParkedOrderIDType	ParkedOrderID;


};

///有序的风控预埋单
struct CShfeFtdcSeqRiskParkedOrderField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///预埋报单编号
	TShfeFtdcParkedOrderIDType	ParkedOrderID;
	///预埋单本地编号
	TShfeFtdcParkedOrderIDType	LocalID;
	///风控用户类型
	TShfeFtdcRiskUserTypeType	UserType;
	///预埋单状态
	TShfeFtdcRiskParkedOrderStatusType	Status;
	///预埋单状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///触发类型
	TShfeFtdcOrderTriggerTypeType	TriggerType;
	///交易阶段
	TShfeFtdcVolumeType	TradeSegment;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///风控强平类型
	TShfeFtdcForceCloseTypeType	FCType;
	///辅助强平单的生成时间
	TShfeFtdcTimeType	Time1;
	///辅助强平单的生成时间（毫秒）
	TShfeFtdcMillisecType	Millisec1;
	///强平单的提交时间
	TShfeFtdcTimeType	Time2;
	///强平单的提交时间（毫秒）
	TShfeFtdcMillisecType	Millisec2;
	///强平场景编号
	TShfeFtdcForceCloseSceneIdType	FCSceneId;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///报单引用
	TShfeFtdcOrderRefType	OrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///报单价格条件
	TShfeFtdcOrderPriceTypeType	OrderPriceType;
	///买卖方向
	TShfeFtdcDirectionType	Direction;
	///组合开平标志
	TShfeFtdcCombOffsetFlagType	CombOffsetFlag;
	///组合投机套保标志
	TShfeFtdcCombHedgeFlagType	CombHedgeFlag;
	///价格
	TShfeFtdcPriceType	LimitPrice;
	///数量
	TShfeFtdcVolumeType	VolumeTotalOriginal;
	///有效期类型
	TShfeFtdcTimeConditionType	TimeCondition;
	///GTD日期
	TShfeFtdcDateType	GTDDate;
	///成交量类型
	TShfeFtdcVolumeConditionType	VolumeCondition;
	///最小成交量
	TShfeFtdcVolumeType	MinVolume;
	///触发条件
	TShfeFtdcContingentConditionType	ContingentCondition;
	///止损价
	TShfeFtdcPriceType	StopPrice;
	///强平原因
	TShfeFtdcForceCloseReasonType	ForceCloseReason;
	///自动挂起标志
	TShfeFtdcBoolType	IsAutoSuspend;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///用户强评标志
	TShfeFtdcBoolType	UserForceClose;
	///报单提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单状态
	TShfeFtdcOrderStatusType	OrderStatus;
	///报单状态信息
	TShfeFtdcErrorMsgType	OrderStatusMsg;
	///错误代码
	TShfeFtdcErrorIDType	ErrorID;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;
	///预埋时间
	TShfeFtdcTimeType	ParkedTime;
	///预埋量
	TShfeFtdcVolumeType	OriginalParkedVol;
	///预埋时可平量
	TShfeFtdcVolumeType	MaxCloseVol1;
	///触发时可平量
	TShfeFtdcVolumeType	MaxCloseVol2;
	///预埋时追保
	TShfeFtdcMoneyType	Call1;
	///触发时追保
	TShfeFtdcMoneyType	Call2;
	///预埋时出入金
	TShfeFtdcMoneyType	MoneyIO1;
	///触发时出入金
	TShfeFtdcMoneyType	MoneyIO2;
	///删除原因
	TShfeFtdcCommentType	DeleteReason;
	///强平资金释放标准
	TShfeFtdcForceCloseReleaseType	ForceCloseRelease;
	///互换单标志
	TShfeFtdcBoolType	IsSwapOrder;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///交易编码
	TShfeFtdcClientIDType	ClientID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;




};

///风控中投资者消息
struct CShfeFtdcRiskInvestorInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///手机
	TShfeFtdcTelephoneType	Mobile;
	///电子邮件
	TShfeFtdcUOAEMailType	EMail;
	///是否允许发送邮件
	TShfeFtdcBoolType	IsEMail;
	///是否允许发送邮件
	TShfeFtdcBoolType	IsSMS;
	///投资者类型
	TShfeFtdcInvestorTypeType	InvestorType;
	///国家代码
	TShfeFtdcUOACountryCodeType	PhoneCountryCode;
	///区号
	TShfeFtdcAreaCodeType	PhoneAreaCode;
	///开户授权人国家代码
	TShfeFtdcUOACountryCodeType	OpenPhoneCountryCode;
	///开户授权人区号
	TShfeFtdcAreaCodeType	OpenPhoneAreaCode;
	///指定下单人国家代码
	TShfeFtdcUOACountryCodeType	OrderPhoneCountryCode;
	///指定下单人区号
	TShfeFtdcAreaCodeType	OrderPhoneAreaCode;
	///资金调拨人国家代码
	TShfeFtdcUOACountryCodeType	FundPhoneCountryCode;
	///资金调拨人区号
	TShfeFtdcAreaCodeType	FundPhoneAreaCode;
	///结算单确认人国家代码
	TShfeFtdcUOACountryCodeType	SettlePhoneCountryCode;
	///结算单确认人区号
	TShfeFtdcAreaCodeType	SettlePhoneAreaCode;


};

///客户风险通知版本A
struct CShfeFtdcRiskNotifyAField
{
	///风险通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///请求发送该风险通知的用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	NotifyMethod;
	///风险通知状态
	TShfeFtdcRiskNotifyStatusType	NotifyStatus;
	///通知内容
	TShfeFtdcRiskNofityInfoType	Message;
	///预留字段(人工通知-通知操作员，否则为错误原因)
	TShfeFtdcCommentType	Reserve;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///有序的客户风险通知版本A
struct CShfeFtdcSeqRiskNotifyAField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///风险通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///请求发送该风险通知的用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	NotifyMethod;
	///风险通知状态
	TShfeFtdcRiskNotifyStatusType	NotifyStatus;
	///通知内容
	TShfeFtdcRiskNofityInfoType	Message;
	///预留字段(人工通知-通知操作员，否则为错误原因)
	TShfeFtdcCommentType	Reserve;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///有序的出入金
struct CShfeFtdcSeqDepositField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///出入金类型
	TShfeFtdcFundIOTypeType	Type;
	///有效标志-有效或冲正
	TShfeFtdcAvailabilityFlagType	Flag;
	///出入金方向
	TShfeFtdcFundDirectionType	Direction;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///流水号
	TShfeFtdcDepositSeqNoType	SequenceNo;
	///时间
	TShfeFtdcTimeType	Time;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///出入金金额
	TShfeFtdcMoneyType	Amount;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///有序的交易编码
struct CShfeFtdcSeqTradingCodeField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///操作标志(修改或删除)
	TShfeFtdcActionFlagType	Action;
	///交易编码类型
	TShfeFtdcClientIDTypeType	ClientIDType;


};

///风控用户操作事件
struct CShfeFtdcRiskUserEventField
{
	///用户事件当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///事件类型
	TShfeFtdcRiskUserEventType	EventType;
	///事件信息
	TShfeFtdcUserEventInfoType	EventInfo;
	///交易日
	TShfeFtdcDateType	TradingDay;


};

///风控订阅序列号
struct CShfeFtdcRiskNtfSequenceField
{
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///业务数据类型
	TShfeFtdcBusinessUnitType	DataType;


};

///客户风险通知模版版本A
struct CShfeFtdcRiskNotifyPatternAField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码，请求修改模版时有效
	TShfeFtdcUserIDType	UserID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	NotifyMethod;
	///是否启用
	TShfeFtdcBoolType	IsActive;
	///通知模版内容
	TShfeFtdcRiskNofityInfoType	Pattern;
	///预留参数(暂时只用作warnlevel)
	TShfeFtdcCommentType	Reserve;


};

///品种停板涨跌幅
struct CShfeFtdcProductLimitsField
{
	///品种或合约代码
	TShfeFtdcInstrumentIDType	ProductID;
	///D1涨跌幅
	TShfeFtdcRatioType	Limit1;
	///D2涨跌幅
	TShfeFtdcRatioType	Limit2;
	///D3涨跌幅
	TShfeFtdcRatioType	Limit3;
	///D4涨跌幅
	TShfeFtdcRatioType	Limit4;
	///最大保证金率
	TShfeFtdcRatioType	MaxMarginRate1;
	///结算价
	TShfeFtdcPriceType	Price;


};

///风险预算资金账户
struct CShfeFtdcPredictRiskAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///初始权益
	TShfeFtdcMoneyType	Balance0;
	///D1亏损
	TShfeFtdcMoneyType	Lose1;
	///D1权益
	TShfeFtdcMoneyType	Balance1;
	///D2亏损
	TShfeFtdcMoneyType	Lose2;
	///D2权益
	TShfeFtdcMoneyType	Balance2;
	///D3亏损
	TShfeFtdcMoneyType	Lose3;
	///D3权益
	TShfeFtdcMoneyType	Balance3;
	///D4亏损
	TShfeFtdcMoneyType	Lose4;
	///D4权益
	TShfeFtdcMoneyType	Balance4;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///货币质入金额
	TShfeFtdcMoneyType	FundMortgageIn;


};

///风险预算持仓
struct CShfeFtdcPredictRiskPositionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///多头持仓
	TShfeFtdcVolumeType	LongVol;
	///空头持仓
	TShfeFtdcVolumeType	ShortVol;
	///净持仓
	TShfeFtdcVolumeType	NetVol;
	///初始价格
	TShfeFtdcPriceType	Price0;
	///D1结算价
	TShfeFtdcPriceType	Price1;
	///D1涨跌幅
	TShfeFtdcRatioType	Limit1;
	///D2涨跌幅
	TShfeFtdcRatioType	Limit2;
	///D3涨跌幅
	TShfeFtdcRatioType	Limit3;
	///D4涨跌幅
	TShfeFtdcRatioType	Limit4;
	///合约乘数
	TShfeFtdcVolumeMultipleType	Multiple;
	///D1亏损
	TShfeFtdcMoneyType	Lose1;
	///D2亏损
	TShfeFtdcMoneyType	Lose2;
	///D3亏损
	TShfeFtdcMoneyType	Lose3;
	///D4亏损
	TShfeFtdcMoneyType	Lose4;
	///可留手数
	TShfeFtdcVolumeType	LeftVol;
	///D1应强平
	TShfeFtdcVolumeType	ShouldClose;
	///调整后可强平
	TShfeFtdcVolumeType	CanClose;
	///当前保证金率
	TShfeFtdcRatioType	CurrMarginRate;
	///调整后保证金率
	TShfeFtdcRatioType	MarginRate1;
	///净持仓保证金
	TShfeFtdcMoneyType	NetMargin1;
	///D1可用
	TShfeFtdcMoneyType	Available1;
	///1手保证金
	TShfeFtdcMoneyType	Margin1PerVol;


};

///风险预算参数
struct CShfeFtdcPredictRiskParamField
{
	///D1日期
	TShfeFtdcVolumeType	D1;
	///是否过滤无效记录
	TShfeFtdcBoolType	IsFilter;


};

///风控中同步投资者
struct CShfeFtdcRiskSyncInvestorField
{
	///操作标志(修改或删除)
	TShfeFtdcActionFlagType	Action;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者分组代码
	TShfeFtdcInvestorIDType	InvestorGroupID;
	///投资者名称
	TShfeFtdcPartyNameType	InvestorName;
	///证件类型
	TShfeFtdcIdCardTypeType	IdentifiedCardType;
	///证件号码
	TShfeFtdcIdentifiedCardNoType	IdentifiedCardNo;
	///是否活跃
	TShfeFtdcBoolType	IsActive;
	///联系电话
	TShfeFtdcTelephoneType	Telephone;
	///通讯地址
	TShfeFtdcAddressType	Address;
	///开户日期
	TShfeFtdcDateType	OpenDate;
	///手机
	TShfeFtdcMobileType	Mobile;


};

///合约价格
struct CShfeFtdcInstrumentPriceField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///价格类型
	TShfeFtdcPriceTypeType	PriceType;
	///价格
	TShfeFtdcPriceType	Price;


};

///投资者与联系人信息的Hash值
struct CShfeFtdcInvestorHashField
{
	///请求中是业务类型，否则是数据MD5值
	TShfeFtdcFullMD5Type	MD5;
	///投资者代码(为空代表所有投资者代码)
	TShfeFtdcInvestorIDType	InvestorIDBeg;
	///投资者代码(为空代表所有投资者代码)
	TShfeFtdcInvestorIDType	InvestorIDEnd;


};

///投资者代码
struct CShfeFtdcInvestorIDRangeField
{
	///投资者代码(为空代表所有投资者代码)
	TShfeFtdcInvestorIDType	InvestorIDBeg;
	///投资者代码(为空代表所有投资者代码)
	TShfeFtdcInvestorIDType	InvestorIDEnd;


};

///带通讯时段编号的流序号
struct CShfeFtdcCommPhaseSequenceField
{
	///通讯时段编号
	TShfeFtdcCommPhaseNoType	CommPhaseNo;
	///序列系列号
	TShfeFtdcSequenceSeriesType	SequenceSeries;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///风控用户权限
struct CShfeFtdcRiskUserFunctionField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///权限名称
	TShfeFtdcFunctionIDType	Function;


};

///连接状态
struct CShfeFtdcLinkStatusField
{
	///连接状态
	TShfeFtdcLinkStatusType	LinkStatus;


};

///风控同步投资者资金账户
struct CShfeFtdcRiskSyncAccountField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///出金金额
	TShfeFtdcMoneyType	Withdraw;
	///当前保证金总额
	TShfeFtdcMoneyType	CurrMargin;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///总权益
	TShfeFtdcMoneyType	Balance;
	///可用资金
	TShfeFtdcMoneyType	Available;
	///质押金额
	TShfeFtdcMoneyType	Mortgage;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///可取资金
	TShfeFtdcMoneyType	WithdrawQuota;
	///信用额度
	TShfeFtdcMoneyType	Credit;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///入金金额
	TShfeFtdcMoneyType	Deposit;
	///交易持仓盈亏
	TShfeFtdcMoneyType	TradingPositionProfit;
	///货币质入金额
	TShfeFtdcMoneyType	FundMortgageIn;
	///货币质出金额
	TShfeFtdcMoneyType	FundMortgageOut;
	///货币质押余额
	TShfeFtdcMoneyType	FundMortgageAvailable;
	///可质押货币金额
	TShfeFtdcMoneyType	MortgageableFund;
	///特殊品种交易所占用保证金
	TShfeFtdcMoneyType	SpecProductExchangeMargin;
	///特殊产品冻结保证金
	TShfeFtdcMoneyType	SpecProductFrozenMargin;
	///特殊产品占用保证金
	TShfeFtdcMoneyType	SpecProductMargin;
	///特殊产品手续费
	TShfeFtdcMoneyType	SpecProductCommission;
	///特殊产品冻结手续费
	TShfeFtdcMoneyType	SpecProductFrozenCommission;
	///特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfit;
	///特殊产品平仓盈亏
	TShfeFtdcMoneyType	SpecProductCloseProfit;
	///根据持仓盈亏算法计算的特殊产品持仓盈亏
	TShfeFtdcMoneyType	SpecProductPositionProfitByAlg;
	///算在质押上的保证金冻结
	TShfeFtdcMoneyType	FrozenMarginOnMortgage;
	///算在质押上的保证金
	TShfeFtdcMoneyType	MarginOnMortgage;
	///算在质押上的交易所保证金
	TShfeFtdcMoneyType	ExchMarginOnMortgage;
	///算在质押上的冻结手续费
	TShfeFtdcMoneyType	FrozenCommissionOnMortgage;
	///算在质押上的持仓盈亏
	TShfeFtdcMoneyType	PositionProfitOnMortgage;
	///算在质押上的手续费
	TShfeFtdcMoneyType	CommissionOnMortgage;
	///算在质押上的平仓盈亏
	TShfeFtdcMoneyType	CloseProfitOnMortgage;
	///期权平仓盈亏
	TShfeFtdcMoneyType	OptionCloseProfit;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///维持保证金总额
	TShfeFtdcMoneyType	MaintCurrMargin;
	///交易所维持保证金
	TShfeFtdcMoneyType	MaintExchangeMargin;
	///昨结算价计算的期权保证金
	TShfeFtdcMoneyType	FixedMargin;
	///昨结算价计算的交易所期权保证金
	TShfeFtdcMoneyType	ExchFixedMargin;
	///延时换汇冻结金额
	TShfeFtdcMoneyType	FrozenSwap;
	///剩余换汇额度
	TShfeFtdcMoneyType	RemainSwap;


};

///风控资金账户昨日信息
struct CShfeFtdcSeqPreRiskAccountField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///上次质押金额
	TShfeFtdcMoneyType	PreMortgage;
	///上次信用额度
	TShfeFtdcMoneyType	PreCredit;
	///上次存款额
	TShfeFtdcMoneyType	PreDeposit;
	///上次总权益
	TShfeFtdcMoneyType	PreBalance;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///基本准备金
	TShfeFtdcMoneyType	Reserve;
	///上次交易所保证金
	TShfeFtdcMoneyType	PreExchMargin;
	///历史强平次数
	TShfeFtdcVolumeType	ForceCloseStat;
	///投资者交割保证金
	TShfeFtdcMoneyType	DeliveryMargin;
	///交易所交割保证金
	TShfeFtdcMoneyType	ExchangeDeliveryMargin;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///上次特殊产品占用交易所保证金
	TShfeFtdcMoneyType	PreSpecProductMargin;
	///上次特殊产品占用保证金
	TShfeFtdcMoneyType	PreSpecProductExchangeMargin;
	///上一交易日算在质押上的保证金
	TShfeFtdcMoneyType	PreMarginOnMortgage;
	///上一交易日算在质押上的交易所保证金
	TShfeFtdcMoneyType	PreExchMarginOnMortgage;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageIn;
	///上次货币质入金额
	TShfeFtdcMoneyType	PreFundMortgageOut;


};

///查询服务器登录应答
struct CShfeFtdcRspLocalFrontLoginField
{
	///通讯时段编号
	TShfeFtdcCommPhaseNoType	CommPhaseNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///风控前置中连接的SessionID
	TShfeFtdcSessionIDType	FrontSessionID;


};

///模板替换字段
struct CShfeFtdcNoticeTokenField
{
	///自动替换字段
	TShfeFtdcExchangeNameType	Token;
	///自动替换字段的描述
	TShfeFtdcBrokerNameType	Description;


};

///通知模板
struct CShfeFtdcNoticePatternField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///业务类型
	TShfeFtdcParamNameType	BizType;
	///通知途径
	TShfeFtdcRiskNotifyMethodType	Method;
	///业务名称
	TShfeFtdcParamNameType	BizName;
	///最近修改模版的用户代码
	TShfeFtdcUserIDType	UserID;
	///是否启用
	TShfeFtdcBoolType	IsActive;
	///通知模版内容
	TShfeFtdcContentType	Pattern;


};

///业务通知
struct CShfeFtdcBizNoticeField
{
	///事件发生日期
	TShfeFtdcDateType	TradingDay;
	///通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	Method;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///业务类型
	TShfeFtdcParamNameType	BizType;
	///通知状态
	TShfeFtdcRiskNotifyStatusType	Status;
	///通知内容
	TShfeFtdcContentType	Message;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///投资者参数
struct CShfeFtdcRiskInvestorParamField
{
	///参数代码
	TShfeFtdcParamIDType	ParamID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///参数值
	TShfeFtdcParamValueType	ParamValue;


};

///变化行情
struct CShfeFtdcVaryMarketDataField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///最新价
	TShfeFtdcPriceType	LastPrice;


};

///合约价格区间
struct CShfeFtdcPriceRangeField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///价格1
	TShfeFtdcPriceType	Price1;
	///价格2
	TShfeFtdcPriceType	Price2;


};

///有序的业务通知
struct CShfeFtdcSeqBizNoticeField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///事件发生日期
	TShfeFtdcDateType	TradingDay;
	///通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	Method;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///业务类型
	TShfeFtdcParamNameType	BizType;
	///通知状态
	TShfeFtdcRiskNotifyStatusType	Status;
	///通知内容
	TShfeFtdcContentType	Message;
	///错误信息
	TShfeFtdcErrorMsgType	ErrorMsg;


};

///风控参数信息
struct CShfeFtdcRiskParamInfoField
{
	///参数代码
	TShfeFtdcParamIDType	ParamID;
	///参数说明
	TShfeFtdcDescriptionType	Description;


};

///风控登录信息
struct CShfeFtdcRiskLoginInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///本地前置会话编号
	TShfeFtdcSessionIDType	LocalSessionID;
	///风控前置会话编号
	TShfeFtdcSessionIDType	SessionID;
	///风控前置编号
	TShfeFtdcFrontIDType	FrontID;


};

///风控通知模板
struct CShfeFtdcRiskPatternField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///业务类型
	TShfeFtdcParamNameType	BizType;
	///模板代码
	TShfeFtdcParamIDType	PatternID;
	///模板名称
	TShfeFtdcParamNameType	PatternName;
	///通知模版内容
	TShfeFtdcContentType	Pattern;


};

///投资者通知模板
struct CShfeFtdcInvestorPatternField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///业务类型
	TShfeFtdcParamNameType	BizType;
	///通知途径
	TShfeFtdcRiskNotifyMethodType	Method;
	///模板代码
	TShfeFtdcParamIDType	PatternID;
	///是否启用
	TShfeFtdcBoolType	IsActive;


};

///客户风险通知版本B
struct CShfeFtdcRiskNotifyBField
{
	///风险通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///请求发送该风险通知的用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	NotifyMethod;
	///风险通知状态
	TShfeFtdcRiskNotifyStatusType	NotifyStatus;
	///通知内容
	TShfeFtdcContentType	Message;
	///预留字段(人工通知-通知操作员，否则为错误原因)
	TShfeFtdcCommentType	Reserve;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///有序的客户风险通知版本B
struct CShfeFtdcSeqRiskNotifyBField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///风险通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///事件发生日期
	TShfeFtdcDateType	EventDate;
	///事件发生时间
	TShfeFtdcTimeType	EventTime;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///请求发送该风险通知的用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///通知类型
	TShfeFtdcNotifyClassType	NotifyClass;
	///风险通知途径
	TShfeFtdcRiskNotifyMethodType	NotifyMethod;
	///风险通知状态
	TShfeFtdcRiskNotifyStatusType	NotifyStatus;
	///通知内容
	TShfeFtdcContentType	Message;
	///预留字段(人工通知-通知操作员，否则为错误原因)
	TShfeFtdcCommentType	Reserve;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///查询持仓成交报排名的参数
struct CShfeFtdcQryStatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所品种合约代码组合(交易所代码使用前缀e:，格式如cu,e:SHFE,cu1105)
	TShfeFtdcString100Type	ExchangeProductInstID;
	///排名类型
	TShfeFtdcStatSortTypeType	SortType;
	///按排名数返回结果
	TShfeFtdcVolumeType	ResultCount;
	///按比例返回结果
	TShfeFtdcRatioType	ResultRatio;


};

///持仓排名统计
struct CShfeFtdcPositionStatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所品种合约代码组合(交易所代码使用前缀e:，格式如cu,e:SHFE,cu1105)
	TShfeFtdcString100Type	ExchangeProductInstID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///昨持仓
	TShfeFtdcVolumeType	YdPosition;
	///总持仓
	TShfeFtdcVolumeType	Position;
	///多头持仓
	TShfeFtdcVolumeType	LongPosition;
	///空头持仓
	TShfeFtdcVolumeType	ShortPosition;
	///净持仓
	TShfeFtdcVolumeType	NetPosition;
	///投机多头持仓
	TShfeFtdcVolumeType	SpecuLongPosi;
	///投机空头持仓
	TShfeFtdcVolumeType	SpecuShortPosi;
	///保值多头持仓
	TShfeFtdcVolumeType	HedgeLongPosi;
	///保值空头持仓
	TShfeFtdcVolumeType	HedgeShortPosi;
	///今仓
	TShfeFtdcVolumeType	TodayPosition;
	///总持仓成本
	TShfeFtdcMoneyType	PositionCost;


};

///成交排名统计
struct CShfeFtdcTradeStatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所品种合约代码组合(交易所代码使用前缀e:，格式如cu,e:SHFE,cu1105)
	TShfeFtdcString100Type	ExchangeProductInstID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///总成交量
	TShfeFtdcVolumeType	TotalVol;
	///总成交额
	TShfeFtdcMoneyType	TotalAmt;
	///买成交量
	TShfeFtdcVolumeType	BuyVol;
	///买成交额
	TShfeFtdcMoneyType	BuyAmt;
	///卖成交量
	TShfeFtdcVolumeType	SellVol;
	///卖成交额
	TShfeFtdcMoneyType	SellAmt;
	///净买入成交量
	TShfeFtdcVolumeType	NetVol;
	///净买入成交额
	TShfeFtdcMoneyType	NetAmt;


};

///报单排名统计
struct CShfeFtdcOrderStatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///交易所品种合约代码组合(交易所代码使用前缀e:，格式如cu,e:SHFE,cu1105)
	TShfeFtdcString100Type	ExchangeProductInstID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///总报单量
	TShfeFtdcVolumeType	TotalVol;
	///买报单量
	TShfeFtdcVolumeType	BuyVol;
	///卖报单量
	TShfeFtdcVolumeType	SellVol;
	///净买入报单量
	TShfeFtdcVolumeType	NetVol;
	///有成交报单数
	TShfeFtdcVolumeType	TradeCount;
	///总报单数
	TShfeFtdcVolumeType	TotalCount;


};

///灾备子系统编号
struct CShfeFtdcDRSysIDField
{
	///灾备子系统编号(每个子系统中心一个编号)
	TShfeFtdcDRSysIDType	DRSysID;


};

///查询投资者保证金率
struct CShfeFtdcQryInvestorMarginRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;


};

///投资者保证金率
struct CShfeFtdcInvestorMarginRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///单位（手）期权合约最小保证金
	TShfeFtdcMoneyType	MinMargin;


};

///压力测试结算价格
struct CShfeFtdcSTPriceField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///投资者代码或模板代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///价格类型
	TShfeFtdcPriceTypeType	PriceType;
	///价格
	TShfeFtdcPriceType	Price;


};

///压力测试保证金率
struct CShfeFtdcSTMarginRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///单位（手）期权合约最小保证金
	TShfeFtdcMoneyType	MinMargin;


};

///短信自定义通知
struct CShfeFtdcSeqSmsCustomNotifyField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///短信类型
	TShfeFtdcSmsCustomTypeType	Type;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///手机
	TShfeFtdcMobileType	Mobile;
	///通知内容
	TShfeFtdcContentType	Message;


};

///请求设置短信通知状态
struct CShfeFtdcSetSmsStatusField
{
	///通知事件在当天的序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///短信类型
	TShfeFtdcSmsCustomTypeType	Type;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///通知状态
	TShfeFtdcRiskNotifyStatusType	Status;


};

///压力测试交易所保证金率
struct CShfeFtdcSTExchMarginRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///单位（手）期权合约最小保证金
	TShfeFtdcMoneyType	MinMargin;


};

///查询投资者交易所保证金率
struct CShfeFtdcQryExchMarginRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;


};

///投资者交易所保证金率
struct CShfeFtdcExchMarginRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///多头保证金率
	TShfeFtdcRatioType	LongMarginRatioByMoney;
	///多头保证金费
	TShfeFtdcMoneyType	LongMarginRatioByVolume;
	///空头保证金率
	TShfeFtdcRatioType	ShortMarginRatioByMoney;
	///空头保证金费
	TShfeFtdcMoneyType	ShortMarginRatioByVolume;
	///单位（手）期权合约最小保证金
	TShfeFtdcMoneyType	MinMargin;


};

///投资者产品组保证金
struct CShfeFtdcSeqIPGroupMarginField
{
	///流中唯一的序列号
	TShfeFtdcSequenceNoType	UniqSequenceNo;
	///品种/跨品种标示
	TShfeFtdcInstrumentIDType	ProductGroupID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///多头冻结的保证金
	TShfeFtdcMoneyType	LongFrozenMargin;
	///空头冻结的保证金
	TShfeFtdcMoneyType	ShortFrozenMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///多头保证金
	TShfeFtdcMoneyType	LongUseMargin;
	///空头保证金
	TShfeFtdcMoneyType	ShortUseMargin;
	///交易所保证金
	TShfeFtdcMoneyType	ExchMargin;
	///交易所多头保证金
	TShfeFtdcMoneyType	LongExchMargin;
	///交易所空头保证金
	TShfeFtdcMoneyType	ShortExchMargin;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///折抵总金额
	TShfeFtdcMoneyType	OffsetAmount;
	///多头折抵总金额
	TShfeFtdcMoneyType	LongOffsetAmount;
	///空头折抵总金额
	TShfeFtdcMoneyType	ShortOffsetAmount;
	///交易所折抵总金额
	TShfeFtdcMoneyType	ExchOffsetAmount;
	///交易所多头折抵总金额
	TShfeFtdcMoneyType	LongExchOffsetAmount;
	///交易所空头折抵总金额
	TShfeFtdcMoneyType	ShortExchOffsetAmount;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///经纪公司投资者币种代码
struct CShfeFtdcBrokerInvestorCurrencyField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;


};

///二代投资者
struct CShfeFtdcSecAgentInvestorField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者ID
	TShfeFtdcInvestorIDType	InvestorID;
	///转委托中介机构资金帐号
	TShfeFtdcAccountIDType	BrokerSecAgentID;


};

///压力测试标准
struct CShfeFtdcSTStandardField
{
	///大商所盘后组合保证金优惠
	TShfeFtdcBoolType	STDCECombMarginUsed;


};

///压力测试大商所盘后组合保证金优惠参数
struct CShfeFtdcSTDCECombMarginParamField
{
	///风控大商所组合类型
	TShfeFtdcSTDCECombTypeType	STDCECombType;
	///组合序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID2;


};

///压力测试大商所跨期组合合约分组参数
struct CShfeFtdcSTDCESPInsGroupParamField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///分组序号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///产品报价汇率表
struct CShfeFtdcProductExchRateField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///报价币种类型
	TShfeFtdcCurrencyIDType	QuoteCurrencyID;
	///汇率
	TShfeFtdcExchangeRateType	ExchangeRate;


};

///风控用于输出的投资者合约持仓
struct CShfeFtdcRiskInvestorPositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///上日持仓
	TShfeFtdcVolumeType	YdPosition;
	///今日持仓
	TShfeFtdcVolumeType	Position;
	///多头冻结
	TShfeFtdcVolumeType	LongFrozen;
	///空头冻结
	TShfeFtdcVolumeType	ShortFrozen;
	///开仓冻结金额
	TShfeFtdcMoneyType	LongFrozenAmount;
	///开仓冻结金额
	TShfeFtdcMoneyType	ShortFrozenAmount;
	///开仓量
	TShfeFtdcVolumeType	OpenVolume;
	///平仓量
	TShfeFtdcVolumeType	CloseVolume;
	///开仓金额
	TShfeFtdcMoneyType	OpenAmount;
	///平仓金额
	TShfeFtdcMoneyType	CloseAmount;
	///持仓成本
	TShfeFtdcMoneyType	PositionCost;
	///上次占用的保证金
	TShfeFtdcMoneyType	PreMargin;
	///占用的保证金
	TShfeFtdcMoneyType	UseMargin;
	///冻结的保证金
	TShfeFtdcMoneyType	FrozenMargin;
	///冻结的资金
	TShfeFtdcMoneyType	FrozenCash;
	///冻结的手续费
	TShfeFtdcMoneyType	FrozenCommission;
	///资金差额
	TShfeFtdcMoneyType	CashIn;
	///手续费
	TShfeFtdcMoneyType	Commission;
	///平仓盈亏
	TShfeFtdcMoneyType	CloseProfit;
	///持仓盈亏
	TShfeFtdcMoneyType	PositionProfit;
	///上次结算价
	TShfeFtdcPriceType	PreSettlementPrice;
	///本次结算价
	TShfeFtdcPriceType	SettlementPrice;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///开仓成本
	TShfeFtdcMoneyType	OpenCost;
	///交易所保证金
	TShfeFtdcMoneyType	ExchangeMargin;
	///组合成交形成的持仓
	TShfeFtdcVolumeType	CombPosition;
	///组合多头冻结
	TShfeFtdcVolumeType	CombLongFrozen;
	///组合空头冻结
	TShfeFtdcVolumeType	CombShortFrozen;
	///逐日盯市平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByDate;
	///逐笔对冲平仓盈亏
	TShfeFtdcMoneyType	CloseProfitByTrade;
	///今日持仓
	TShfeFtdcVolumeType	TodayPosition;
	///保证金率
	TShfeFtdcRatioType	MarginRateByMoney;
	///保证金率(按手数)
	TShfeFtdcRatioType	MarginRateByVolume;
	///执行冻结
	TShfeFtdcVolumeType	StrikeFrozen;
	///执行冻结金额
	TShfeFtdcMoneyType	StrikeFrozenAmount;
	///放弃执行冻结
	TShfeFtdcVolumeType	AbandonFrozen;
	///期权市值
	TShfeFtdcMoneyType	OptionValue;
	///占用的维持保证金
	TShfeFtdcMoneyType	MaintUseMargin;
	///交易所维持保证金
	TShfeFtdcMoneyType	MaintExchangeMargin;
	///期权标的合约的本次结算价
	TShfeFtdcPriceType	IndexSettlementPrice;
	///昨结算价计算的期权保证金
	TShfeFtdcMoneyType	FixedMargin;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行冻结的昨仓
	TShfeFtdcVolumeType	YdStrikeFrozen;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;


};

///风控执行宣告查询
struct CShfeFtdcRiskQryExecOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///执行宣告编号
	TShfeFtdcExecOrderSysIDType	ExecOrderSysID;
	///开始时间
	TShfeFtdcTimeType	InsertTimeStart;
	///结束时间
	TShfeFtdcTimeType	InsertTimeEnd;


};

///风控执行宣告
struct CShfeFtdcRiskExecOrderField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///执行宣告引用
	TShfeFtdcOrderRefType	ExecOrderRef;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///数量
	TShfeFtdcVolumeType	Volume;
	///请求编号
	TShfeFtdcRequestIDType	RequestID;
	///业务单元
	TShfeFtdcBusinessUnitType	BusinessUnit;
	///开平标志
	TShfeFtdcOffsetFlagType	OffsetFlag;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///执行类型
	TShfeFtdcActionTypeType	ActionType;
	///保留头寸申请的持仓方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///期权行权后是否保留期货头寸的标记,该字段已废弃
	TShfeFtdcExecOrderPositionFlagType	ReservePositionFlag;
	///期权行权后生成的头寸是否自动平仓
	TShfeFtdcExecOrderCloseFlagType	CloseFlag;
	///本地执行宣告编号
	TShfeFtdcOrderLocalIDType	ExecOrderLocalID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///会员代码
	TShfeFtdcParticipantIDType	ParticipantID;
	///客户代码
	TShfeFtdcClientIDType	ClientID;
	///合约在交易所的代码
	TShfeFtdcExchangeInstIDType	ExchangeInstID;
	///交易所交易员代码
	TShfeFtdcTraderIDType	TraderID;
	///安装编号
	TShfeFtdcInstallIDType	InstallID;
	///执行宣告提交状态
	TShfeFtdcOrderSubmitStatusType	OrderSubmitStatus;
	///报单提示序号
	TShfeFtdcSequenceNoType	NotifySequence;
	///交易日
	TShfeFtdcDateType	TradingDay;
	///结算编号
	TShfeFtdcSettlementIDType	SettlementID;
	///执行宣告编号
	TShfeFtdcExecOrderSysIDType	ExecOrderSysID;
	///报单日期
	TShfeFtdcDateType	InsertDate;
	///插入时间
	TShfeFtdcTimeType	InsertTime;
	///撤销时间
	TShfeFtdcTimeType	CancelTime;
	///执行结果
	TShfeFtdcExecResultType	ExecResult;
	///结算会员编号
	TShfeFtdcParticipantIDType	ClearingPartID;
	///序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///前置编号
	TShfeFtdcFrontIDType	FrontID;
	///会话编号
	TShfeFtdcSessionIDType	SessionID;
	///用户端产品信息
	TShfeFtdcProductInfoType	UserProductInfo;
	///状态信息
	TShfeFtdcErrorMsgType	StatusMsg;
	///操作用户代码
	TShfeFtdcUserIDType	ActiveUserID;
	///经纪公司报单编号
	TShfeFtdcSequenceNoType	BrokerExecOrderSeq;
	///营业部编号
	TShfeFtdcBranchIDType	BranchID;
	///投资单元代码
	TShfeFtdcInvestUnitIDType	InvestUnitID;
	///资金账号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///当前期权合约手续费的详细内容
struct CShfeFtdcOptionInstrCommRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///开仓手续费率
	TShfeFtdcRatioType	OpenRatioByMoney;
	///开仓手续费
	TShfeFtdcRatioType	OpenRatioByVolume;
	///平仓手续费率
	TShfeFtdcRatioType	CloseRatioByMoney;
	///平仓手续费
	TShfeFtdcRatioType	CloseRatioByVolume;
	///平今手续费率
	TShfeFtdcRatioType	CloseTodayRatioByMoney;
	///平今手续费
	TShfeFtdcRatioType	CloseTodayRatioByVolume;
	///执行手续费率
	TShfeFtdcRatioType	StrikeRatioByMoney;
	///执行手续费
	TShfeFtdcRatioType	StrikeRatioByVolume;


};

///期权手续费率查询
struct CShfeFtdcQryOptionInstrCommRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///当前做市商期权合约手续费的详细内容
struct CShfeFtdcMMOptionInstrCommRateField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///开仓手续费率
	TShfeFtdcRatioType	OpenRatioByMoney;
	///开仓手续费
	TShfeFtdcRatioType	OpenRatioByVolume;
	///平仓手续费率
	TShfeFtdcRatioType	CloseRatioByMoney;
	///平仓手续费
	TShfeFtdcRatioType	CloseRatioByVolume;
	///平今手续费率
	TShfeFtdcRatioType	CloseTodayRatioByMoney;
	///平今手续费
	TShfeFtdcRatioType	CloseTodayRatioByVolume;
	///执行手续费率
	TShfeFtdcRatioType	StrikeRatioByMoney;
	///执行手续费
	TShfeFtdcRatioType	StrikeRatioByVolume;


};

///做市商期权手续费率查询
struct CShfeFtdcQryMMOptionInstrCommRateField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;


};

///风控查询交易用户登录统计信息
struct CShfeFtdcRiskQryLogUserLoginStatField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///同一User的登录失败次数数阀值
	TShfeFtdcVolumeType	FailNumByUser;
	///同一User的不同登录地址数阀值
	TShfeFtdcVolumeType	AddressNumByUser;
	///同一IPMAC地址上的不同登录用户数阀值
	TShfeFtdcVolumeType	UserNumByAddress;
	///同一IPMAC地址上的登录总次数阀值
	TShfeFtdcVolumeType	TotalNumByAddress;


};

///风控查询交易用户登录统计信息内容
struct CShfeFtdcRiskLogUserLoginStatField
{
	///交易用户登录统计类型
	TShfeFtdcLoginStatTypeType	StatType;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///登录总次数
	TShfeFtdcVolumeType	TotalNum;
	///登录成功次数
	TShfeFtdcVolumeType	SuccessNum;
	///登录失败次数
	TShfeFtdcVolumeType	FailNum;
	///同一IPMAC地址上的不同登录用户数
	TShfeFtdcVolumeType	UserNumByAddress;
	///同一User的不同登录地址数
	TShfeFtdcVolumeType	AddressNumByUser;


};

///风控查询交易用户登录信息
struct CShfeFtdcRiskQryLogUserLoginInfoField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;


};

///风控查询交易用户登录信息内容
struct CShfeFtdcRiskLogUserLoginInfoField
{
	///交易日
	TShfeFtdcDateType	TradingDay;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///IP地址
	TShfeFtdcIPAddressType	IPAddress;
	///Mac地址
	TShfeFtdcMacAddressType	MacAddress;
	///登录总次数
	TShfeFtdcVolumeType	TotalNum;
	///登录成功次数
	TShfeFtdcVolumeType	SuccessNum;
	///登录失败次数
	TShfeFtdcVolumeType	FailNum;


};

///风控查询期权合约希腊值
struct CShfeFtdcRiskQryInstrumentGreeksField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;


};

///风控期权合约希腊值
struct CShfeFtdcRiskInstrumentGreeksField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///交易所代码
	TShfeFtdcExchangeIDType	ExchangeID;
	///期权价值关于期货价格变化的比率
	TShfeFtdcRatioType	Delta;
	///Delta关于期货价格变化的比率
	TShfeFtdcRatioType	Gamma;
	///期权价值关于波动率变化的比率
	TShfeFtdcRatioType	Vega;
	///期权价值关于时间变化的比率
	TShfeFtdcRatioType	Theta;
	///当前最新结算价
	TShfeFtdcPriceType	SettlementPrice;


};

///行权试算结算价格
struct CShfeFtdcETPriceField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者范围
	TShfeFtdcInvestorRangeType	InvestorRange;
	///投资者代码或模板代码
	TShfeFtdcInvestorIDType	InvestorID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///价格类型
	TShfeFtdcPriceTypeType	PriceType;
	///价格
	TShfeFtdcPriceType	Price;


};

///行权试算持仓
struct CShfeFtdcETStrikePositionField
{
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///持仓多空方向
	TShfeFtdcPosiDirectionType	PosiDirection;
	///投机套保标志
	TShfeFtdcHedgeFlagType	HedgeFlag;
	///持仓日期
	TShfeFtdcPositionDateType	PositionDate;
	///当前持仓数量
	TShfeFtdcVolumeType	Position;
	///需执行持仓数量
	TShfeFtdcVolumeType	EXEPosition;
	///行权价格类型
	TShfeFtdcPriceTypeType	EXEPriceType;
	///行权试算价格
	TShfeFtdcPriceType	EXEPrice;


};

///行权试算大商所盘后组合保证金优惠参数
struct CShfeFtdcETDCECombMarginParamField
{
	///风控大商所组合类型
	TShfeFtdcSTDCECombTypeType	STDCECombType;
	///组合序号
	TShfeFtdcSequenceNoType	SequenceNo;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID2;


};

///行权试算大商所跨期组合合约分组参数
struct CShfeFtdcETDCESPInsGroupParamField
{
	///产品代码
	TShfeFtdcInstrumentIDType	ProductID;
	///合约代码
	TShfeFtdcInstrumentIDType	InstrumentID;
	///分组序号
	TShfeFtdcSequenceNoType	SequenceNo;


};

///行权试算响应
struct CShfeFtdcInvestorTestResultField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///投资者帐号
	TShfeFtdcAccountIDType	AccountID;
	///币种代码
	TShfeFtdcCurrencyIDType	CurrencyID;
	///总权益
	TShfeFtdcMoneyType	Balance;
	///可用资金
	TShfeFtdcMoneyType	Available;
	///买行权冻结保证金
	TShfeFtdcMoneyType	LongExeMargin;
	///买行权冻结保证金
	TShfeFtdcMoneyType	ShortExeMargin;
	///执行费用
	TShfeFtdcMoneyType	ExeMoney;
	///执行盈亏总额
	TShfeFtdcMoneyType	ExeProfit;
	///释放保证金
	TShfeFtdcMoneyType	ReleaseMoney;


};

///当前交易中心
struct CShfeFtdcUserRightsAssignField
{
	///应用单元代码
	TShfeFtdcBrokerIDType	BrokerID;
	///用户代码
	TShfeFtdcUserIDType	UserID;
	///交易中心代码
	TShfeFtdcDRIdentityIDType	DRIdentityID;


};

///用户下单权限分配表
struct CShfeFtdcCurrDRIdentityField
{
	///交易中心代码
	TShfeFtdcDRIdentityIDType	DRIdentityID;


};

///查询延时换汇
struct CShfeFtdcQrySyncDelaySwapField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///延时换汇流水号
	TShfeFtdcDepositSeqNoType	DelaySwapSeqNo;


};

///同步延时换汇
struct CShfeFtdcSyncDelaySwapField
{
	///换汇流水号
	TShfeFtdcDepositSeqNoType	DelaySwapSeqNo;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///源币种
	TShfeFtdcCurrencyIDType	FromCurrencyID;
	///源金额
	TShfeFtdcMoneyType	FromAmount;
	///源换汇冻结金额(可用冻结)
	TShfeFtdcMoneyType	FromFrozenSwap;
	///源剩余换汇额度(可提冻结)
	TShfeFtdcMoneyType	FromRemainSwap;
	///目标币种
	TShfeFtdcCurrencyIDType	ToCurrencyID;
	///目标金额
	TShfeFtdcMoneyType	ToAmount;


};

///二级代理商资金校验模式
struct CShfeFtdcSecAgentCheckModeField
{
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///币种
	TShfeFtdcCurrencyIDType	CurrencyID;
	///境外中介机构资金帐号
	TShfeFtdcAccountIDType	BrokerSecAgentID;
	///是否需要校验自己的资金账户
	TShfeFtdcBoolType	CheckSelfAccount;


};

///查询二级代理商资金校验模式
struct CShfeFtdcQrySecAgentCheckModeField
{
	///经纪公司代码
	TShfeFtdcBrokerIDType	BrokerID;
	///投资者代码
	TShfeFtdcInvestorIDType	InvestorID;


};



#endif
